Add the OP_SetTabCol and OP_VerifyTabCol opcodes, only when compiling with
SQLITE_DEBUG, to do run-time verification of the column cache. FossilOrigin-Name: b37614a3670770919a7c7f8157c5fd6578d736447998640b52e5cef8174cadc2
This commit is contained in:
@@ -367,6 +367,17 @@
|
||||
# undef NDEBUG
|
||||
#endif
|
||||
|
||||
/* SQLITE_DEBUG_COLUMNCACHE is synomous with SQLITE_DEBUG. The
|
||||
** SQLITE_DEBUG_COLUMNCACHE symbol only exists to provide a convenient
|
||||
** way to search for all code that deals with verifying correct behavior
|
||||
** of the column cache.
|
||||
*/
|
||||
#ifdef SQLITE_DEBUG
|
||||
# define SQLITE_DEBUG_COLUMNCACHE 1
|
||||
#else
|
||||
# undef SQLIT_DEBUG_COLUMNCACHE
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Enable SQLITE_ENABLE_EXPLAIN_COMMENTS if SQLITE_DEBUG is turned on.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user