summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysqltest.result
diff options
context:
space:
mode:
authorunknown <sayantan.dutta@oracle.com>2011-10-19 12:53:52 +0530
committerunknown <sayantan.dutta@oracle.com>2011-10-19 12:53:52 +0530
commit434dd8635e3517869be37ee61bcaae1f1694aba1 (patch)
treea356496214e8fad1cffb7c401d20d3d1e567334b /mysql-test/r/mysqltest.result
parent06f57a7021f471f0b895b853551522812c3a1368 (diff)
downloadmariadb-git-434dd8635e3517869be37ee61bcaae1f1694aba1.tar.gz
Bug #11754855 46528: NEED A WAY TO PASS A VARIABLE TO MTR COMMANDS
modified function do_get_error in mysqltest.cc to handle multiple variable passed added test case to mysqltest.test to verify handling to multiple errors passed
Diffstat (limited to 'mysql-test/r/mysqltest.result')
-rw-r--r--mysql-test/r/mysqltest.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/mysqltest.result b/mysql-test/r/mysqltest.result
index 003388be2cf..a0456c65f53 100644
--- a/mysql-test/r/mysqltest.result
+++ b/mysql-test/r/mysqltest.result
@@ -662,6 +662,17 @@ a D
1 1
1 4
drop table t1;
+create table t2 ( a char(10));
+garbage;
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'garbage' at line 1
+garbage;
+Got one of the listed errors
+garbage;
+Got one of the listed errors
+insert into t1 values ("Abcd");
+Got one of the listed errors
+garbage;
+drop table t2;
create table t1 ( f1 char(10));
insert into t1 values ("Abcd");
select * from t1;