diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-10-16 17:07:30 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-10-16 17:07:30 +0000 |
| commit | 8184ae912a05dc37130c6666357d79091657dc97 (patch) | |
| tree | 05e62a979fc8de07e73206d6d21c46d24a2c05ff | |
| parent | 3681b6d8349c6cf646383c27657b87d742a1abc2 (diff) | |
BUILD : 1.7.16 (1177) BUGS : NOTES : Fixed MySQL query debug to not excessivly quote queries before displaying in debug mode
git-svn-id: svn://svn.anope.org/anope/trunk@1177 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@898 5417fbe8-f217-4b02-8779-1006273d7864
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/mysql.c | 6 | ||||
| -rw-r--r-- | version.log | 6 |
3 files changed, 7 insertions, 6 deletions
@@ -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 |
