- Added an Info message when pinging the SQL servers.

- Changed line terminators back to *nix on map.c because otherwise it's impossible to run a diff between the stable and trunk versions of the file.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6043 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-04-13 18:10:08 +00:00
parent 73f37619f0
commit dc8d892b45
6 changed files with 3807 additions and 3807 deletions

View File

@ -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]

View File

@ -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);

View File

@ -359,6 +359,7 @@ int e_mail_check(char *email) {
*/
int login_sql_ping(int tid, unsigned int tick, int id, int data)
{
ShowInfo("Pinging SQL server to keep connection alive...\n");
mysql_ping(&mysql_handle);
return 0;
}

View File

@ -144,7 +144,6 @@ void chrif_checkdefaultlogin(void)
}
}
/*==========================================
*
*------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@ -2785,4 +2785,3 @@ int npc_changename(const char *name, const char *newname, short look){
npc_enable(newname,1);
return 0;
}