Skip to content

Commit

Permalink
Fix --view-protocol failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Oct 26, 2023
1 parent 68542ca commit cb4c271
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mysql-test/include/empty_string_literal.inc
@@ -1,6 +1,8 @@
SET SESSION character_set_connection=latin2;
SET SESSION character_set_client=cp1250;

--disable_service_connection

--echo #
--echo # Test litteral
--echo #
Expand Down Expand Up @@ -129,3 +131,5 @@ EXPLAIN EXTENDED SELECT '';
EXPLAIN EXTENDED SELECT _latin1'';
EXPLAIN EXTENDED SELECT N'';
EXPLAIN EXTENDED SELECT '' '';

--enable_service_connection
2 changes: 2 additions & 0 deletions mysql-test/main/mdl.test
Expand Up @@ -84,6 +84,7 @@ DROP TABLE t1,t3;
--echo #
--echo # MDEV-28820 MyISAM wrong server status flags
--echo #
--disable_service_connection
# MyISAM alone doesn't start a transaction or takes transactional MDL
create table t1 (a int);
set autocommit=0;
Expand Down Expand Up @@ -119,6 +120,7 @@ disconnect foo;
connection default;
set autocommit=default;
drop table t2;
--enable_service_connection

--echo #
--echo # End of 10.4 tests
Expand Down
2 changes: 2 additions & 0 deletions mysql-test/main/sql_mode.test
Expand Up @@ -575,7 +575,9 @@ DELIMITER ;$$

SET sql_mode='ORACLE,EMPTY_STRING_IS_NULL';
SELECT @@sql_mode;
--disable_service_connection
SELECT '' AS empty;
--enable_service_connection
SET sql_mode='';
SELECT @@sql_mode;
SET sql_mode=DEFAULT;
Expand Down

0 comments on commit cb4c271

Please sign in to comment.