summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 82c8e2a34..63e47a973 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -3338,7 +3338,9 @@ int do_init(int argc, char **argv){
#undef mysql_query
int debug_mysql_query(char *file, int line, void *mysql, const char *q) {
+#ifdef TWILIGHT
printf("sql: %s:%d# %s\n", file, line, q);
+#endif
return mysql_query((MYSQL *) mysql, q);
}