summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/mysql.c6
-rw-r--r--version.log6
3 files changed, 7 insertions, 6 deletions
diff --git a/Changes b/Changes
index 295ee7e34..de6ed622c 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Anope Version S V N
10/15 F Correctly compiling mod_version with module options now. [ #00]
10/16 F MySQL functions did not always escape all values correctly. [#612]
10/16 F Made anoperc restart to accepts arguments like anoperc start. [#611]
+10/16 F MySQL query debug quoted displayed queries just a tad too much. [ #00]
Anope Version 1.7.16
--------------------
diff --git a/src/mysql.c b/src/mysql.c
index 0dcdf95df..ed74b6e64 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -130,7 +130,6 @@ int db_mysql_open()
int db_mysql_query(char *sql)
{
int lcv;
- char *s;
if (!do_mysql) {
/* Error is 1 */
@@ -138,10 +137,7 @@ int db_mysql_query(char *sql)
}
if (debug) {
- s = db_mysql_quote(sql);
- alog("debug: %s", s);
- free(s);
-
+ alog("debug: MySQL: %s", sql);
}
/* Try as many times as configured in MysqlRetries */
diff --git a/version.log b/version.log
index 7956324d6..73a45713f 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="16"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1176"
+VERSION_BUILD="1177"
# $Log$
#
+# BUILD : 1.7.16 (1177)
+# BUGS :
+# NOTES : Fixed MySQL query debug to not excessivly quote queries before displaying in debug mode
+#
# BUILD : 1.7.16 (1176)
# BUGS : 611
# NOTES : Fixed anoperc restart to allow arguments like anoperc start