mirror of
https://github.com/anope/anope.git
synced 2026-07-01 05:36:38 +02:00
BUILD : 1.7.16 (1178) BUGS : NOTES : Fixed a MySQL query error in the RDB functions.... successor cannot be NULL
git-svn-id: svn://svn.anope.org/anope/trunk@1178 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@899 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
8184ae912a
commit
dac7c2dbfd
@@ -5,6 +5,7 @@ Anope Version S V N
|
||||
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]
|
||||
01/16 F MySQL query error in RDB functions. [ #00]
|
||||
|
||||
Anope Version 1.7.16
|
||||
--------------------
|
||||
|
||||
@@ -187,7 +187,7 @@ int rdb_cs_deluser(char *nick)
|
||||
|
||||
#ifdef USE_MYSQL
|
||||
snprintf(buf, sizeof(buf),
|
||||
"UPDATE anope_cs_info SET successor=NULL WHERE successor='%s'",
|
||||
"UPDATE anope_cs_info SET successor='' WHERE successor='%s'",
|
||||
q_nick);
|
||||
db_mysql_query(buf);
|
||||
|
||||
@@ -219,7 +219,7 @@ int rdb_cs_delchan(ChannelInfo * ci)
|
||||
|
||||
#ifdef USE_MYSQL
|
||||
snprintf(buf, sizeof(buf),
|
||||
"UPDATE anope_cs_info SET successor=NULL WHERE name='%s'",
|
||||
"UPDATE anope_cs_info SET successor='' WHERE name='%s'",
|
||||
q_channel);
|
||||
db_mysql_query(buf);
|
||||
|
||||
@@ -264,7 +264,7 @@ int rdb_cs_set_founder(char *channel, char *founder)
|
||||
|
||||
#ifdef USE_MYSQL
|
||||
snprintf(buf, sizeof(buf),
|
||||
"UPDATE anope_cs_info SET founder='%s', successor=NULL WHERE name='%s'",
|
||||
"UPDATE anope_cs_info SET founder='%s', successor='' WHERE name='%s'",
|
||||
q_founder, q_channel);
|
||||
db_mysql_query(buf);
|
||||
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="16"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1177"
|
||||
VERSION_BUILD="1178"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.16 (1178)
|
||||
# BUGS :
|
||||
# NOTES : Fixed a MySQL query error in the RDB functions.... successor cannot be NULL
|
||||
#
|
||||
# BUILD : 1.7.16 (1177)
|
||||
# BUGS :
|
||||
# NOTES : Fixed MySQL query debug to not excessivly quote queries before displaying in debug mode
|
||||
|
||||
Reference in New Issue
Block a user