git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7311 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
ec2fc0e437
commit
5ca017e91a
@ -11916,7 +11916,7 @@ static int script_save_mapreg(void)
|
|||||||
unsigned int perfomance = (unsigned int)time(NULL);
|
unsigned int perfomance = (unsigned int)time(NULL);
|
||||||
mapreg_db->foreach(mapreg_db,script_save_mapreg_intsub); // [zBuffer]
|
mapreg_db->foreach(mapreg_db,script_save_mapreg_intsub); // [zBuffer]
|
||||||
mapregstr_db->foreach(mapregstr_db,script_save_mapreg_strsub);
|
mapregstr_db->foreach(mapregstr_db,script_save_mapreg_strsub);
|
||||||
perfomance = ((int)time(NULL) - perfomance);
|
perfomance = ((unsigned int)time(NULL) - perfomance);
|
||||||
if(perfomance > 2)
|
if(perfomance > 2)
|
||||||
ShowWarning("Slow Query: MapregSQL Saving @ %d second(s).\n", perfomance);
|
ShowWarning("Slow Query: MapregSQL Saving @ %d second(s).\n", perfomance);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user