[tarantool-patches] Re: [PATCH 2/3] sql: delete foreign_keys pragma
n.pettik
korablev at tarantool.org
Tue Oct 2 16:36:49 MSK 2018
> diff --git a/src/box/sql/sqliteInt.h b/src/box/sql/sqliteInt.h
> index e9c15dbb3..b2d527834 100644
> --- a/src/box/sql/sqliteInt.h
> +++ b/src/box/sql/sqliteInt.h
> @@ -1562,7 +1562,7 @@ struct sqlite3 {
> #define SQLITE_ReadUncommitted 0x0004000 /* For shared-cache mode */
> #define SQLITE_ReverseOrder 0x00020000 /* Reverse unordered SELECTs */
> #define SQLITE_RecTriggers 0x00040000 /* Enable recursive triggers */
> -#define SQLITE_ForeignKeys 0x00080000 /* Enforce foreign key constraints */
> +/* 0x00080000 Free bit */
Don’t do this. It is easy to check that this bit is really free manually.
More information about the Tarantool-patches
mailing list