1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 15:03:13 +02:00

BUILD : 1.7.18 (1228) BUGS : 672 NOTES : Fixed a crash when MySQL was enabled; it checked the (unset) uplink server flags resulting in a segfault

git-svn-id: svn://svn.anope.org/anope/trunk@1228 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@947 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-01-22 17:20:14 +00:00
parent bf19cf3784
commit 976c246b69
3 changed files with 18 additions and 9 deletions
+1
View File
@@ -12,6 +12,7 @@ Anope Version S V N
01/10 F BotServ kicks now obeys the channel's SignKick option. [#663]
01/15 F Only send PONG during MySQL save when we're not syncing. [#669]
01/15 F InspIRCD 1.1 protocol module used windows incompatible strtok_r. [#667]
01/22 F Crash during first save when MySQL is enabled. [#672]
Anope Version 1.7.18
--------------------
+12 -8
View File
@@ -183,42 +183,46 @@ void save_databases(void)
* If we send them during the sync, we fuck something up there and
* break the syncing process, resulting in lost (literally lost)
* data. -GD
* This used is_sync(serv_uplink) to check for sync states. There's
* only a minor error with this: serv_uplink doesn't exist during
* the first save. So now we check for serv_uplink only; if it
* exists we're safe. -GD
*/
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
waiting = -12;
save_cs_rdb_dbase();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
if (PreNickDBName) {
save_ns_req_rdb_dbase();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
waiting = -13;
}
if (s_BotServ) {
waiting = -14;
save_bs_rdb_dbase();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
}
if (s_HostServ) {
waiting = -15;
save_hs_rdb_dbase();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
}
waiting = -16;
save_os_rdb_dbase();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
waiting = -17;
save_rdb_news();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
waiting = -18;
save_rdb_exceptions();
if (!is_sync(serv_uplink))
if (serv_uplink)
anope_cmd_pong(ServerName, ServerName);
}
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="18"
VERSION_EXTRA="-svn"
VERSION_BUILD="1227"
VERSION_BUILD="1228"
# $Log$
#
# BUILD : 1.7.18 (1228)
# BUGS : 672
# NOTES : Fixed a crash when MySQL was enabled; it checked the (unset) uplink server flags resulting in a segfault
#
# BUILD : 1.7.18 (1227)
# BUGS : 667
# NOTES : Fixed inspircd11.c using strtok_r - myStrGetToken is more compatible (strtok_r does not work on windows)