summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_error.result
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-10-02 00:12:27 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-10-02 00:12:27 +0400
commitd72c594739467160fb30685483c41f0f747925db (patch)
tree2118d6c50022f3510872d297e53f610abd13855f /mysql-test/r/partition_error.result
parente33e27a6643e426a6143cf725a480ecd5a22899e (diff)
parent00677a802beb48e1763eaf8874390bf335ccb43e (diff)
downloadmariadb-git-d72c594739467160fb30685483c41f0f747925db.tar.gz
Manual merge from mysql-5.1-bugteam into mysql-5.5-bugteam.
conflicts: conflict dbug/dbug.c conflict sql/sql_load.cc
Diffstat (limited to 'mysql-test/r/partition_error.result')
-rw-r--r--mysql-test/r/partition_error.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/partition_error.result b/mysql-test/r/partition_error.result
index 27f34730463..d41e4cb510c 100644
--- a/mysql-test/r/partition_error.result
+++ b/mysql-test/r/partition_error.result
@@ -1196,4 +1196,14 @@ PARTITION p VALUES LESS THAN (1219089600),
PARTITION pmax VALUES LESS THAN MAXVALUE);
ERROR HY000: Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
DROP TABLE old;
+#
+# Bug #56709: Memory leaks at running the 5.1 test suite
+#
+CREATE TABLE t1 (a TIMESTAMP NOT NULL PRIMARY KEY);
+ALTER TABLE t1
+PARTITION BY RANGE (EXTRACT(DAY FROM a)) (
+PARTITION p VALUES LESS THAN (18),
+PARTITION pmax VALUES LESS THAN MAXVALUE);
+ERROR HY000: Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
+DROP TABLE t1;
End of 5.1 tests