From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CBF6C1FA70 for ; Thu, 4 Oct 2018 11:16:42 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D8b2z4P63MCk for ; Thu, 4 Oct 2018 11:16:42 -0400 (EDT) Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 8BE1A1FA20 for ; Thu, 4 Oct 2018 11:16:42 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 2/3] sql: delete foreign_keys pragma References: From: Alex Khatskevich Message-ID: Date: Thu, 4 Oct 2018 18:16:40 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: "n.pettik" , tarantool-patches@freelists.org 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