summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2006-03-08 09:48:40 -0800
committerunknown <jimw@mysql.com>2006-03-08 09:48:40 -0800
commit48469933d0a1f99d57a79777a86289040accb5e2 (patch)
treecf436faf26775208d891f4d6383c61200d0a18fb /sql/share
parent56df722382767cb8ac272607f5e3fbaa0839661d (diff)
downloadmariadb-git-48469933d0a1f99d57a79777a86289040accb5e2.tar.gz
Bug #17497: Partitions: crash if add partition on temporary table
Temporary tables are no longer allowed to be partitioned. mysql-test/r/partition.result: Add result mysql-test/t/partition.test: Add new regression test sql/share/errmsg.txt: Add new error message sql/sql_table.cc: Don't allow creating temporary table with partitions
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/share/errmsg.txt b/sql/share/errmsg.txt
index d163da30e95..4255504e98f 100644
--- a/sql/share/errmsg.txt
+++ b/sql/share/errmsg.txt
@@ -5820,4 +5820,5 @@ ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT
eng "Cannot change the binary logging format inside a stored function or trigger"
ER_NDB_CANT_SWITCH_BINLOG_FORMAT
eng "The NDB cluster engine does not support changing the binlog format on the fly yet"
-
+ER_PARTITION_NO_TEMPORARY
+ eng "Cannot create temporary table with partitions"