summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysql_client.result
diff options
context:
space:
mode:
authorunknown <tnurnberg@mysql.com/salvation.intern.azundris.com>2006-07-13 09:04:06 +0200
committerunknown <tnurnberg@mysql.com/salvation.intern.azundris.com>2006-07-13 09:04:06 +0200
commit76215977850defe766718d483a2ecf9204b1413f (patch)
tree0fe657933204978a8b402736cbc05c4cb54d2136 /mysql-test/r/mysql_client.result
parented001f18a49301f51cab3e3e5d5c9ade212bd19f (diff)
downloadmariadb-git-76215977850defe766718d483a2ecf9204b1413f.tar.gz
Bug#20432: mysql client interprets commands in comments
do not look for client-specific commands while inside a multi-line comment. we will allow multi-comments pretty much anywhere within SQL-statements, but client-specific commands (help, use, print, ...) must be the first token in the input. client/mysql.cc: Bug#20432: mysql client interprets commands in comments mysql-test/r/mysql_client.result: Bug#20432: mysql client interprets commands in comments test client-side parsing of comments and client-specific commands mysql-test/t/mysql_client.test: Bug#20432: mysql client interprets commands in comments test client-side parsing of comments and client-specific commands
Diffstat (limited to 'mysql-test/r/mysql_client.result')
-rw-r--r--mysql-test/r/mysql_client.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/mysql_client.result b/mysql-test/r/mysql_client.result
new file mode 100644
index 00000000000..87d09428ff6
--- /dev/null
+++ b/mysql-test/r/mysql_client.result
@@ -0,0 +1,4 @@
+1
+1
+ERROR 1064 (42000) at line 3: 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 '' at line 1
+ERROR at line 1: USE must be followed by a database name