Skip to content

Commit

Permalink
Added missing column check for char table in char_checkdb
Browse files Browse the repository at this point in the history
  • Loading branch information
Jittapan Pluemsumran committed Aug 20, 2016
1 parent d20a7ca commit 04ffafa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/char/char.c
Expand Up @@ -2333,10 +2333,7 @@ bool char_checkdb(void){
"`guild_id`,`pet_id`,`homun_id`,`elemental_id`,`hair`,`hair_color`,`clothes_color`,`weapon`,"
"`shield`,`head_top`,`head_mid`,`head_bottom`,`robe`,`last_map`,`last_x`,`last_y`,`save_map`,"
"`save_x`,`save_y`,`partner_id`,`online`,`father`,`mother`,`child`,`fame`,`rename`,`delete_date`,"
"`moves`,`unban_time`,`font`"
#if PACKETVER >= 20141016
",`sex`"
#endif
"`moves`,`unban_time`,`font`,`sex`,`hotkey_rowshift`"
" FROM `%s` LIMIT 1;", schema_config.char_db) ){
Sql_ShowDebug(sql_handle);
return false;
Expand Down

0 comments on commit 04ffafa

Please sign in to comment.