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 E2FF52B020 for ; Tue, 2 Oct 2018 09:36:51 -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 QOEeVlWGGmZH for ; Tue, 2 Oct 2018 09:36:51 -0400 (EDT) Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (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 9D22B2ACC8 for ; Tue, 2 Oct 2018 09:36:51 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [tarantool-patches] Re: [PATCH 2/3] sql: delete foreign_keys pragma From: "n.pettik" In-Reply-To: Date: Tue, 2 Oct 2018 16:36:49 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: 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: tarantool-patches@freelists.org Cc: Alex Khatskevich > 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=E2=80=99t do this. It is easy to check that this bit is really free = manually.