summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorgluh@gluh.mysql.r18.ru <>2005-02-23 15:15:36 +0300
committergluh@gluh.mysql.r18.ru <>2005-02-23 15:15:36 +0300
commit3e9bf3af3441560fe5d7a021f438c93bad35062c (patch)
tree1fdd00168d3ac7bc840d4435065a7ebb3ee11c66 /sql/sql_show.cc
parenteac72d405f0c4493669ff1f2fb7ad6670d045658 (diff)
downloadmariadb-git-3e9bf3af3441560fe5d7a021f438c93bad35062c.tar.gz
Fix for bug #7217: information_schema: columns are varbinary() instead of timestamp &
bug #7215: information_schema: columns are longtext instead of varchar
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index e95b20c29c9..8bf6f36ccdc 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -3017,6 +3017,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
tmp_table_param->init();
tmp_table_param->table_charset= cs;
tmp_table_param->field_count= field_count;
+ tmp_table_param->schema_table= 1;
SELECT_LEX *select_lex= thd->lex->current_select;
if (!(table= create_tmp_table(thd, tmp_table_param,
field_list, (ORDER*) 0, 0, 0,