diff options
author | monty@donna.mysql.fi <> | 2001-04-25 22:44:27 +0300 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-04-25 22:44:27 +0300 |
commit | 21e7c668ff8bea797ede22c3ce03f6f186685c35 (patch) | |
tree | 681105409812886e617023277721945b0d24d385 /sql/sql_show.cc | |
parent | 97c39276795e5734b0666f4219ab97364302574a (diff) | |
download | mariadb-git-21e7c668ff8bea797ede22c3ce03f6f186685c35.tar.gz |
Portability fixes for Ia64 and Sgi compiler
DROP DATABASE in mysqladmin asks for confirmation (again)
Added examined_rows to slow query log
SHOW CREATE for TEMPORARY table
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 38c068d35c3..39ddb79e9de 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -781,7 +781,10 @@ store_create_info(THD *thd, TABLE *table, String *packet) List<Item> field_list; char tmp[MAX_FIELD_WIDTH]; String type(tmp, sizeof(tmp)); - packet->append("CREATE TABLE ", 13); + if (table->tmp_table) + packet->append("CREATE TEMPORARY TABLE ", 23); + else + packet->append("CREATE TABLE ", 13); append_identifier(thd,packet,table->real_name); packet->append(" (\n", 3); |