MXS-1275: Accept LOCAL as a synonum for SESSION

This commit is contained in:
Johan Wikman
2017-05-31 13:33:39 +03:00
parent 2483f95be2
commit 21c1845798
2 changed files with 20 additions and 0 deletions

View File

@ -120,6 +120,21 @@ struct TEST_CASE
P::IS_SET_SQL_MODE,
P::ORACLE
},
{
"SET GLOBAL SQL_MODE=ORACLE",
P::IS_SET_SQL_MODE,
P::ORACLE
},
{
"SET SESSION SQL_MODE=ORACLE",
P::IS_SET_SQL_MODE,
P::ORACLE
},
{
"SET LOCAL SQL_MODE=ORACLE",
P::IS_SET_SQL_MODE,
P::ORACLE
},
};
const int N_TEST_CASES = sizeof(test_cases)/sizeof(test_cases[0]);