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

Some fixes to get closer to UCS2 compatible SHOW FIELDS

This commit is contained in:
bar@bar.mysql.r18.ru
2002-12-17 14:35:19 +04:00
parent 4f2a57c511
commit 0ce4ae35e5
3 changed files with 55 additions and 51 deletions

View File

@ -713,7 +713,7 @@ mysqld_show_fields(THD *thd, TABLE_LIST *table_list,const char *wild,
{
byte *pos;
uint flags=field->flags;
String type(tmp,sizeof(tmp),default_charset_info);
String type(tmp,sizeof(tmp),current_thd->thd_charset);
uint col_access;
bool null_default_value=0;