aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c
index aaba1080e..1cc4cc223 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2583,6 +2583,8 @@ static FILE *output_file_open(const char *zFile){
return f;
}
+#if !defined(SQLITE_OMIT_BUILTIN_TEST)
+#if !defined(SQLITE_OMIT_TRACE) && !defined(SQLITE_OMIT_FLOATING_POINT)
/*
** A routine for handling output from sqlite3_trace().
*/
@@ -2603,6 +2605,8 @@ static int sql_trace_callback(
}
return 0;
}
+#endif
+#endif
/*
** A no-op routine that runs with the ".breakpoint" doc-command. This is