MXS-1275: Test comment handling

This commit is contained in:
Johan Wikman 2017-05-31 13:27:39 +03:00
parent 1c6c19d6ae
commit 2483f95be2

View File

@ -60,6 +60,16 @@ struct TEST_CASE
P::IS_SET_SQL_MODE,
P::DEFAULT
},
{
"-- This is a comment\nSET SQL_MODE=DEFAULT",
P::IS_SET_SQL_MODE,
P::DEFAULT
},
{
"#This is a comment\nSET SQL_MODE=DEFAULT",
P::IS_SET_SQL_MODE,
P::DEFAULT
},
{
"/*blah*/ SET /*blah*/ SQL_MODE /*blah*/ = /*blah*/ DEFAULT /*blah*/ ",
P::IS_SET_SQL_MODE,