@@ -3,8 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
-
2006/04/13
+ * Added an Info message when pinging the SQL servers. [Skotlex]
* Fixed crash when looking for SC_MIRACLE in battle_calc_weapon_attack
[Skotlex]
* Some more standard C code cleanups. [Skotlex]
@@ -309,6 +309,7 @@ int inter_log(char *fmt,...)
*/
int inter_sql_ping(int tid, unsigned int tick, int id, int data)
{
+ ShowInfo("Pinging SQL server to keep connection alive...\n");
mysql_ping(&mysql_handle);
if(char_gm_read)
mysql_ping(&lmysql_handle);
@@ -359,6 +359,7 @@ int e_mail_check(char *email) {
int login_sql_ping(int tid, unsigned int tick, int id, int data)
return 0;
}
@@ -144,7 +144,6 @@ void chrif_checkdefaultlogin(void)
/*==========================================
*
*------------------------------------------
@@ -2785,4 +2785,3 @@ int npc_changename(const char *name, const char *newname, short look){
npc_enable(newname,1);