[tarantool-patches] Re: [PATCH v1 2/2] sql: unset pragma in transitive-transactions test

Kirill Shcherbatov kshcherbatov at tarantool.org
Thu Jun 21 19:06:04 MSK 2018


On 21.06.2018 18:45, n.pettik wrote:
> 
>> +box.sql.execute('PRAGMA defer_foreign_keys = 0;')
>> +box.sql.execute('pragma foreign_keys = 0;’);
> 
> Could you please explain, why do you need to turn off foreign keys?
> AFAIK by default they are enabled. It is okay to change defer mode, but
> I see no reason to disable them at all.

Yes, I've already dropped this line on branch. This was an extra diff.
I've tried to undone all settings that you apply. Disable defer_foreign_keys is really enough.




More information about the Tarantool-patches mailing list