summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-11-18 12:16:06 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2004-11-18 12:16:06 +0300
commitcd2edd171396ba8041f4e0109e0f339b9b99ee0c (patch)
tree1253341b5955e700eeae69f4ff3a434f55f50751 /sql/sql_select.cc
parent2836164f0c846232ea5782fb14d45f783d785438 (diff)
downloadmariadb-git-cd2edd171396ba8041f4e0109e0f339b9b99ee0c.tar.gz
remove unused parts of code
fix for 'show create schema_table' fix for usage schema tables in subselect 'wrong schema table charset' fix mysql-test/r/information_schema.result: 'wrong schema table charset' fix mysql-test/t/information_schema.test: 'wrong schema table charset' fix sql/mysql_priv.h: fix for 'show create schema_table' sql/sql_class.cc: 'wrong schema table charset' fix sql/sql_class.h: 'wrong schema table charset' fix sql/sql_parse.cc: fix for 'show create schema_table' sql/sql_select.cc: 'wrong schema table charset' fix sql/sql_show.cc: remove unused parts of code fix for 'show create schema_table' fix for usage schema tables in subselect sql/table.h: remove unused parts of coed tests/client_test.c: 'wrong schema table charset' fix
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 80c1c8a697f..c63ddca14ce 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -7833,6 +7833,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
table->temp_pool_slot = temp_pool_slot;
table->copy_blobs= 1;
table->in_use= thd;
+ table->table_charset= param->table_charset;
table->keys_for_keyread.init();
table->keys_in_use.init();
table->read_only_keys.init();