Skip to content

Commit

Permalink
MDEV-16708: disabled the test main.sp to be executed with ps-protocol
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dmitryshulga authored and vuvova committed Jun 17, 2021
1 parent a00b51f commit a3a8042
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql-test/main/sp.test
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a3a8042

Please sign in to comment.