1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added possibility to use --error <name> instead of --error <number>

The old syntax works as well. WL#2356.
This commit is contained in:
unknown
2005-01-18 20:16:21 +02:00
parent 445672f0e2
commit 0420317c61
3 changed files with 46 additions and 11 deletions

View File

@ -294,7 +294,7 @@ select * from t2;
create table t3 like t1;
--error 1050
create table t3 like mysqltest.t3;
--error 1044,1
--error ER_DBACCESS_DENIED_ERROR,1
create table non_existing_database.t1 like t1;
--error 1051
create table t3 like non_existing_table;

View File

@ -1761,9 +1761,9 @@ DO benchmark(100,1+1),1,1;
# Bug #6449: do default;
#
--error 1064
--error ER_PARSE_ERROR
do default;
--error 1054
--error ER_BAD_FIELD_ERROR
do foobar;
#