1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Back out the SQLITE_OMIT_UNIQUE_ENFORCEMENT compile-option. It is an unneeded

complication.

FossilOrigin-Name: 927e955b93e869727c55b784401de3ea07bee257
This commit is contained in:
drh
2011-04-09 03:04:13 +00:00
parent 9f6106f5ee
commit 2184fc75a2
6 changed files with 10 additions and 197 deletions

View File

@@ -481,12 +481,6 @@ Tcl_SetVar2(interp, "sqlite_options", "long_double",
Tcl_SetVar2(interp, "sqlite_options", "truncate_opt", "1", TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_OMIT_UNIQUE_ENFORCEMENT
Tcl_SetVar2(interp, "sqlite_options", "unique_enforcement", "0", TCL_GLOBAL_ONLY);
#else
Tcl_SetVar2(interp, "sqlite_options", "unique_enforcement", "1", TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_OMIT_UTF16
Tcl_SetVar2(interp, "sqlite_options", "utf16", "0", TCL_GLOBAL_ONLY);
#else