mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
mysql-test/r/partition.result:
Bug#29368: Incorrect error for syntax error when createing
partition
test result update
mysql-test/r/partition_error.result:
Bug#29368: Incorrect error for syntax error when createing
partition
test result
mysql-test/t/partition_error.test:
Bug#29368: Incorrect error for syntax error when createing
partition
test case
sql/share/errmsg.txt:
Bug#29368: Incorrect error for syntax error when createing
partition
Modified error messages
This commit is contained in:
@@ -8,6 +8,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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user