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

n.pettik korablev at tarantool.org
Tue Oct 2 16:36:52 MSK 2018


> diff --git a/src/box/sql/sqliteInt.h b/src/box/sql/sqliteInt.h
> index b2d527834..8883d37ad 100644
> --- a/src/box/sql/sqliteInt.h
> +++ b/src/box/sql/sqliteInt.h
> @@ -1558,7 +1558,7 @@ struct sqlite3 {
> #define SQLITE_WhereTrace     0x00008000       /* Debug info about optimizer's work */
> #define SQLITE_VdbeListing    0x00000400	/* Debug listings of VDBE programs */
> #define SQLITE_VdbeAddopTrace 0x00001000	/* Trace sqlite3VdbeAddOp() calls */
> -#define SQLITE_IgnoreChecks   0x00002000	/* Do not enforce check constraints */
> +/*                            0x00002000	   Free bit */

The same: don’t do it. Lets simply delete this flag.

The rest is OK.



More information about the Tarantool-patches mailing list