Cleaned up some misleading comments
1) global_acc_reg_num_table and global_acc_reg_str_table are used in the login server only and their configuration and access is not shared with any other component. 2) The character server does not check for global_acc_reg_str_table and global_acc_reg_str_table, but for acc_reg_str_table and acc_reg_str_table.
This commit is contained in:
parent
652d77eb02
commit
0e826261a6
@ -81,8 +81,6 @@ mysql_reconnect_count: 1
|
||||
// Login Database Tables
|
||||
login_server_account_db: login
|
||||
ipban_table: ipbanlist
|
||||
|
||||
// Shared
|
||||
global_acc_reg_num_table: global_acc_reg_num
|
||||
global_acc_reg_str_table: global_acc_reg_str
|
||||
|
||||
|
@ -2340,12 +2340,12 @@ bool char_checkdb(void){
|
||||
Sql_ShowDebug(sql_handle);
|
||||
return false;
|
||||
}
|
||||
//checking global_acc_reg_str_table
|
||||
//checking acc_reg_str_table
|
||||
if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `account_id`,`key`,`index`,`value` from `%s` LIMIT 1;", schema_config.acc_reg_str_table) ) {
|
||||
Sql_ShowDebug(sql_handle);
|
||||
return false;
|
||||
}
|
||||
//checking global_acc_reg_num_table
|
||||
//checking acc_reg_num_table
|
||||
if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `account_id`,`key`,`index`,`value` from `%s` LIMIT 1;", schema_config.acc_reg_num_table) ) {
|
||||
Sql_ShowDebug(sql_handle);
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user