mirror of
https://github.com/anope/anope.git
synced 2026-07-06 21:23:13 +02:00
BUILD : 1.7.2 (91) BUGS : NOTES : db_mysql_query memory usage tweaked.
git-svn-id: svn://svn.anope.org/anope/trunk@91 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@67 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
79a10a459d
commit
7ce3bb99f8
@@ -105,16 +105,18 @@ int db_mysql_open()
|
||||
int db_mysql_query(char *sql)
|
||||
{
|
||||
int result, lcv;
|
||||
char *s = db_mysql_quote(sql);
|
||||
char *s;
|
||||
|
||||
if (!do_mysql) {
|
||||
free(s);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (debug)
|
||||
if (debug) {
|
||||
s = db_mysql_quote(sql);
|
||||
alog(s);
|
||||
free(s);
|
||||
free(s);
|
||||
|
||||
}
|
||||
|
||||
result = mysql_query(mysql, sql);
|
||||
|
||||
|
||||
+5
-1
@@ -8,11 +8,15 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="2"
|
||||
VERSION_BUILD="90"
|
||||
VERSION_BUILD="91"
|
||||
VERSION_EXTRA=""
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.2 (91)
|
||||
# BUGS :
|
||||
# NOTES : db_mysql_query memory usage tweaked.
|
||||
#
|
||||
# BUILD : 1.7.2 (90)
|
||||
# BUGS :
|
||||
# NOTES : Accidently commited config.c
|
||||
|
||||
Reference in New Issue
Block a user