summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-13 18:10:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-13 18:10:08 +0000
commit1abe8b013e2b12bebe47f401105ecbf2b46d29fa (patch)
treec37d07b18f8aee0d1f5f36ef845cb6f236dd919f /src/char_sql
parentcc739edf82a32d83bc9fa57e00581dfd1364d195 (diff)
downloadhercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.gz
hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.bz2
hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.tar.xz
hercules-1abe8b013e2b12bebe47f401105ecbf2b46d29fa.zip
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6043 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/inter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c
index 38fd1f289..d7e13c7c2 100644
--- a/src/char_sql/inter.c
+++ b/src/char_sql/inter.c
@@ -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);