1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Disable assert() in the spellfix extension if not compiled with SQLITE_DEBUG.

FossilOrigin-Name: 3c53ee0fdea4cbf2590e2b289b021b0ef8b7ead2945db1bdfc767432d9447acb
This commit is contained in:
drh
2018-02-14 20:25:33 +00:00
parent 4e6e5cef6c
commit 0fae06fcb6
3 changed files with 13 additions and 7 deletions

View File

@ -18,6 +18,12 @@
SQLITE_EXTENSION_INIT1
#ifndef SQLITE_AMALGAMATION
# if !defined(NDEBUG) && !defined(SQLITE_DEBUG)
# define NDEBUG 1
# endif
# if defined(NDEBUG) && defined(SQLITE_DEBUG)
# undef NDEBUG
# endif
# include <string.h>
# include <stdio.h>
# include <stdlib.h>