Forráskód Böngészése

- 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

skotlex 19 éve
szülő
commit
dc8d892b45
6 módosított fájl, 3712 hozzáadás és 3712 törlés
  1. 1 1
      Changelog-Trunk.txt
  2. 1 0
      src/char_sql/inter.c
  3. 1 0
      src/login_sql/login.c
  4. 0 1
      src/map/chrif.c
  5. 3709 3709
      src/map/map.c
  6. 0 1
      src/map/npc.c

+ 1 - 1
Changelog-Trunk.txt

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

+ 1 - 0
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);

+ 1 - 0
src/login_sql/login.c

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

+ 0 - 1
src/map/chrif.c

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

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 3709 - 3709
src/map/map.c


+ 0 - 1
src/map/npc.c

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

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott