summaryrefslogtreecommitdiff
path: root/base/mysql.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/mysql.hh')
-rw-r--r--base/mysql.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/mysql.hh b/base/mysql.hh
index 89bec73d0..23edb878c 100644
--- a/base/mysql.hh
+++ b/base/mysql.hh
@@ -180,6 +180,7 @@ class Connection
bool
query(const std::string &sql)
{
+ DPRINTF(SQL, "Sending SQL query to server:\n%s", sql);
error.clear();
if (mysql_real_query(&mysql, sql.c_str(), sql.size()))
error.set(mysql_error(&mysql));