git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@849 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
amber
2004-12-28 23:07:49 +00:00
parent 07bba57af4
commit 1faa51bd42
2 changed files with 14 additions and 0 deletions

View File

@@ -1186,6 +1186,18 @@ int mmo_char_sql_init(void) {
} else
printf("set char_id_count: %d.......\n",char_id_count);
sprintf(tmp_sql , "REPLACE INTO `%s` SET `online`=0", char_db);
if (mysql_query(&mysql_handle, tmp_sql))
printf("DB server Error - %s\n", mysql_error(&mysql_handle));
sprintf(tmp_sql , "REPLACE INTO `%s` SET `online`=0", guild_member_db);
if (mysql_query(&mysql_handle, tmp_sql))
printf("DB server Error - %s\n", mysql_error(&mysql_handle));
sprintf(tmp_sql , "REPLACE INTO `%s` SET `connect_member`=0", guild_db);
if (mysql_query(&mysql_handle, tmp_sql))
printf("DB server Error - %s\n", mysql_error(&mysql_handle));
printf("init end.......\n");
return 0;