summaryrefslogtreecommitdiff
path: root/mysql-test/t/compound.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-01-22 19:29:26 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2016-01-27 21:17:23 +0100
commit07e976294089cbc0c8cf46d984565e6136ffa9e8 (patch)
tree5b44bc2ccc1427df2a6179c13d84a2b68b4a0649 /mysql-test/t/compound.test
parenteb155661383bcf215d38baf5ff2c5b4413a5552d (diff)
downloadmariadb-git-07e976294089cbc0c8cf46d984565e6136ffa9e8.tar.gz
MDEV-8615: Assertion `m_cpp_buf <= begin_ptr && begin_ptr <= m_cpp_buf + m_buf_length' failed in Lex_input_stream::body_utf8_start
Nothing should be done before any keyword recognized.
Diffstat (limited to 'mysql-test/t/compound.test')
-rw-r--r--mysql-test/t/compound.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/compound.test b/mysql-test/t/compound.test
index 1c5d12a1665..cabdf96e00e 100644
--- a/mysql-test/t/compound.test
+++ b/mysql-test/t/compound.test
@@ -150,3 +150,10 @@ select a from t1 having a > 1|
begin not atomic select a from t1 having a > 1; end|
drop table t1|
+--echo #
+--echo # MDEV-8615: Assertion `m_cpp_buf <= begin_ptr &&
+--echo # begin_ptr <= m_cpp_buf + m_buf_length' failed in
+--echo # Lex_input_stream::body_utf8_start
+--echo #
+--error ER_PARSE_ERROR
+--query b'