summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_error.test
diff options
context:
space:
mode:
authormattiasj@mattiasj-laptop.(none) <>2007-11-10 13:09:18 +0100
committermattiasj@mattiasj-laptop.(none) <>2007-11-10 13:09:18 +0100
commit43c1daf630a28b64048fb20fae5b3052c09aa3a3 (patch)
tree3e073f75ff56871e9e1850349bd7b27a7d1928b1 /mysql-test/t/partition_error.test
parent3f33002fc46da86d735710af3620f9eab65b1803 (diff)
downloadmariadb-git-43c1daf630a28b64048fb20fae5b3052c09aa3a3.tar.gz
Bug#29368: Modified error messages
Problem: there was no standard syntax error when creating partitions with syntax error in the partitioning clause. Solution: added "Syntax error: " to the error message
Diffstat (limited to 'mysql-test/t/partition_error.test')
-rw-r--r--mysql-test/t/partition_error.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/partition_error.test b/mysql-test/t/partition_error.test
index 5fc2097cc52..c9b95fc1664 100644
--- a/mysql-test/t/partition_error.test
+++ b/mysql-test/t/partition_error.test
@@ -9,6 +9,19 @@ drop table if exists t1;
--enable_warnings
#
+# Bug 29368:
+# Incorrect error, 1467, for syntax error when creating partition
+--error ER_PARTITION_REQUIRES_VALUES_ERROR
+CREATE TABLE t1 (
+ a int
+)
+PARTITION BY RANGE (a)
+(
+ PARTITION p0 VALUES LESS THAN (1),
+ PARTITION p1 VALU ES LESS THAN (2)
+);
+
+#
# Partition by key stand-alone error
#
--error 1064