summaryrefslogtreecommitdiff
path: root/src/mysql.c
diff options
context:
space:
mode:
authorgeniusdex 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
committergeniusdex 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
commit8184ae912a05dc37130c6666357d79091657dc97 (patch)
tree05e62a979fc8de07e73206d6d21c46d24a2c05ff /src/mysql.c
parent3681b6d8349c6cf646383c27657b87d742a1abc2 (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
Diffstat (limited to 'src/mysql.c')
-rw-r--r--src/mysql.c6
1 files changed, 1 insertions, 5 deletions
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 */