The --enable-debug option on configure enables verbose explain and vdbe_trace.

Ticket #1680. (CVS 3120)

FossilOrigin-Name: ee2f706800849a95cc74a08ba0f25d3728dbe3ec
This commit is contained in:
drh
2006-03-03 20:37:52 +00:00
parent 27ed1d90f6
commit eae3a0d8c4
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -116,7 +116,7 @@ AC_INIT(src/sqlite.h.in)
dnl Put the RCS revision string after AC_INIT so that it will also
dnl show in in configure.
# The following RCS revision string applies to configure.in
# $Revision: 1.24 $
# $Revision: 1.25 $
#########
# Programs needed
@@ -644,7 +644,7 @@ AC_SUBST(TARGET_HAVE_READLINE)
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[enable debugging & verbose explain]),
[use_debug=$enableval],[use_debug=no])
if test "${use_debug}" = "yes" ; then
TARGET_DEBUG=""
TARGET_DEBUG="-DSQLITE_DEBUG=1"
else
TARGET_DEBUG="-DNDEBUG"
fi