1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

SHOW CREATE TABLE didn't display field names in the proper charset

mysys/charset.c:
  Clear all fields at the end of previous charset
This commit is contained in:
unknown
2003-03-18 13:42:45 +04:00
parent 2dae38c713
commit 18d3292bb7
6 changed files with 104 additions and 2 deletions

View File

@ -341,6 +341,8 @@ static int add_collation(CHARSET_INFO *cs)
all_charsets[cs->number]->state |= cs->state;
}
cs->number= 0;
cs->primary_number= 0;
cs->binary_number= 0;
cs->name= NULL;
cs->state= 0;
cs->sort_order= NULL;