[tarantool-patches] Re: [PATCH 2/3] sql: delete foreign_keys pragma

Alex Khatskevich avkhatskevich at tarantool.org
Thu Oct 4 18:16:40 MSK 2018



On 02.10.2018 16:36, n.pettik wrote:
>> 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.
>
Fixed




More information about the Tarantool-patches mailing list