summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2005-02-23 15:15:36 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2005-02-23 15:15:36 +0300
commit9e1ead5a4a0e9fcf8396f30db7999e5498670893 (patch)
tree1fdd00168d3ac7bc840d4435065a7ebb3ee11c66 /sql/sql_show.cc
parent8f62bf27940662ac910be1b0d3d5d8d96e2cf7a9 (diff)
downloadmariadb-git-9e1ead5a4a0e9fcf8396f30db7999e5498670893.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,