Commit cb4c2713 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Fix --view-protocol failures

parent 68542cae
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 ''; ...@@ -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
...@@ -84,6 +84,7 @@ DROP TABLE t1,t3; ...@@ -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; ...@@ -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
......
...@@ -575,7 +575,9 @@ DELIMITER ;$$ ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment