summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysqltest.result
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2010-11-15 14:23:02 +0100
committerBjorn Munch <bjorn.munch@oracle.com>2010-11-15 14:23:02 +0100
commit92a1a112030452b375684e2b8633de0a32dc0912 (patch)
treed9bdfcbf2ee86e412eed95ee536e7a966582dbd3 /mysql-test/r/mysqltest.result
parentdbbb506f4226e30255b8f4463163d4f6d39400fc (diff)
downloadmariadb-git-92a1a112030452b375684e2b8633de0a32dc0912.tar.gz
Bug #58087 mysqltest re-evaluates 'let' expressions infinitely
Results from query is sent for evaluation Break recursion by asking for ` to be ignored
Diffstat (limited to 'mysql-test/r/mysqltest.result')
-rw-r--r--mysql-test/r/mysqltest.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/mysqltest.result b/mysql-test/r/mysqltest.result
index 8afef65b66f..f22a18057c3 100644
--- a/mysql-test/r/mysqltest.result
+++ b/mysql-test/r/mysqltest.result
@@ -308,6 +308,10 @@ var3 two columns with same name
var4 from query that returns NULL
var5 from query that returns no row
failing query in let
+create table t1 (a varchar(100));
+insert into t1 values ('`select 42`');
+`select 42`
+drop table t1;
mysqltest: At line 1: Error running query 'failing query': 1064 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 'failing query' at line 1
mysqltest: At line 1: Missing required argument 'filename' to command 'source'
mysqltest: At line 1: Could not open './non_existingFile' for reading, errno: 2