Fix a problem preventing testfixture from being built with SQLITE_OMIT_VIRTUALTABLE.

FossilOrigin-Name: d2cca36adc69d2c8e7707d70cbd75c497eae6a1a3f8a9dd18249ca6804c9db5f
This commit is contained in:
dan
2019-02-06 13:41:19 +00:00
parent d0ee3a1e6d
commit 871b13492d
4 changed files with 15 additions and 9 deletions
+2
View File
@@ -19,6 +19,7 @@
** and the input string itself. The order of prefixes is from longest
** to shortest.
*/
#if !defined(SQLITE_CORE) || !defined(SQLITE_OMIT_VIRTUALTABLE)
#if !defined(SQLITEINT_H)
#include "sqlite3ext.h"
#endif
@@ -315,3 +316,4 @@ int sqlite3_prefixes_init(
}
return rc;
}
#endif /* !defined(SQLITE_CORE) || !defined(SQLITE_OMIT_VIRTUALTABLE) */