1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix --view-protocol failures

This commit is contained in:
Oleksandr Byelkin
2023-10-26 13:39:22 +02:00
parent 68542caea1
commit cb4c271355
3 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,8 @@
SET SESSION character_set_connection=latin2; SET SESSION character_set_connection=latin2;
SET SESSION character_set_client=cp1250; SET SESSION character_set_client=cp1250;
--disable_service_connection
--echo # --echo #
--echo # Test litteral --echo # Test litteral
--echo # --echo #
@ -129,3 +131,5 @@ EXPLAIN EXTENDED SELECT '';
EXPLAIN EXTENDED SELECT _latin1''; EXPLAIN EXTENDED SELECT _latin1'';
EXPLAIN EXTENDED SELECT N''; EXPLAIN EXTENDED SELECT N'';
EXPLAIN EXTENDED SELECT '' ''; EXPLAIN EXTENDED SELECT '' '';
--enable_service_connection

View File

@ -84,6 +84,7 @@ DROP TABLE t1,t3;
--echo # --echo #
--echo # MDEV-28820 MyISAM wrong server status flags --echo # MDEV-28820 MyISAM wrong server status flags
--echo # --echo #
--disable_service_connection
# MyISAM alone doesn't start a transaction or takes transactional MDL # MyISAM alone doesn't start a transaction or takes transactional MDL
create table t1 (a int); create table t1 (a int);
set autocommit=0; set autocommit=0;
@ -119,6 +120,7 @@ disconnect foo;
connection default; connection default;
set autocommit=default; set autocommit=default;
drop table t2; drop table t2;
--enable_service_connection
--echo # --echo #
--echo # End of 10.4 tests --echo # End of 10.4 tests

View File

@ -575,7 +575,9 @@ DELIMITER ;$$
SET sql_mode='ORACLE,EMPTY_STRING_IS_NULL'; SET sql_mode='ORACLE,EMPTY_STRING_IS_NULL';
SELECT @@sql_mode; SELECT @@sql_mode;
--disable_service_connection
SELECT '' AS empty; SELECT '' AS empty;
--enable_service_connection
SET sql_mode=''; SET sql_mode='';
SELECT @@sql_mode; SELECT @@sql_mode;
SET sql_mode=DEFAULT; SET sql_mode=DEFAULT;