summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 02:46:25 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 02:46:25 +0000
commitaeafae0b9a6bb21f28f80728fc61606522e62fdb (patch)
tree28418e9a9b324ca97582bb3821320d27ef959f0e /src/char_sql
parent6637ecab619282c28aec455541a3dedcde34ff67 (diff)
downloadhercules-aeafae0b9a6bb21f28f80728fc61606522e62fdb.tar.gz
hercules-aeafae0b9a6bb21f28f80728fc61606522e62fdb.tar.bz2
hercules-aeafae0b9a6bb21f28f80728fc61606522e62fdb.tar.xz
hercules-aeafae0b9a6bb21f28f80728fc61606522e62fdb.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@804 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-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);
}