diff options
author | Dmitry Shulga <dmitry.shulga@mariadb.com> | 2021-05-19 12:30:06 +0700 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-17 19:30:24 +0200 |
commit | a3a80420ea5b405eb361c0c3cbda2491ce1deeb9 (patch) | |
tree | 3c8f5e98251abc7726ae43110e69f3dd916ed9a4 | |
parent | a00b51f639dc9aab8a7b788265ec75e388f22b09 (diff) | |
download | mariadb-git-a3a80420ea5b405eb361c0c3cbda2491ce1deeb9.tar.gz |
MDEV-16708: disabled the test main.sp to be executed with ps-protocol
This test has been disable by the reason that it contains multi-statements
that not supported in PS mode. Unfortunately, some of these multi-statements
can't be converted to a sequence of single-statements by the reason that
multi-statementness is a requirement for tests (e.g. tests for
the MySQL bugs #5307, #8762) therefore the whole test file will be
skipped in case it is run with --ps-protocol
-rw-r--r-- | mysql-test/main/sp.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/main/sp.test b/mysql-test/main/sp.test index 8157f18aad1..888cc569d6c 100644 --- a/mysql-test/main/sp.test +++ b/mysql-test/main/sp.test @@ -15,6 +15,11 @@ # Tests that require multibyte character sets, which are not always available, # go into separate files (e.g. sp-ucs2.test) +if (`SELECT $PS_PROTOCOL != 0`) +{ + --skip Need regular protocol but ps-protocol was specified +} + --source include/default_charset.inc set @save_character_set_client=@@character_set_client; set @save_userstat=@@global.userstat, @@global.userstat= 0; |