Commit 562c6046 authored by Alexander Nozdrin's avatar Alexander Nozdrin

Remove binlog_direct_non_transactional_updates_basic.test and

binlog_direct_non_transactional_updates_basic.result. They will
be added by a cherry-picking merge from mysql-next-mr-bugfixing
(Bug#50766).
parent 481107da
SELECT @@GLOBAL.binlog_direct_non_transactional_updates;
@@GLOBAL.binlog_direct_non_transactional_updates
0
SET @start_value= @@global.binlog_direct_non_transactional_updates;
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
COUNT(@@GLOBAL.binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
COUNT(@@SESSION.binlog_direct_non_transactional_updates)
1
1 Expected
SET @@GLOBAL.binlog_direct_non_transactional_updates=1;
SELECT @@GLOBAL.binlog_direct_non_transactional_updates;
@@GLOBAL.binlog_direct_non_transactional_updates
1
SET @@SESSION.binlog_direct_non_transactional_updates=1;
SELECT @@SESSION.binlog_direct_non_transactional_updates;
@@SESSION.binlog_direct_non_transactional_updates
1
SELECT @@GLOBAL.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
@@GLOBAL.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
0
1 Expected
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
COUNT(@@GLOBAL.binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
COUNT(VARIABLE_VALUE)
1
1 Expected
SELECT @@SESSION.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
@@SESSION.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
0
1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
COUNT(@@SESSION.binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
COUNT(VARIABLE_VALUE)
1
1 Expected
SELECT COUNT(@@binlog_direct_non_transactional_updates);
COUNT(@@binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(@@local.binlog_direct_non_transactional_updates);
COUNT(@@local.binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
COUNT(@@SESSION.binlog_direct_non_transactional_updates)
1
1 Expected
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
COUNT(@@GLOBAL.binlog_direct_non_transactional_updates)
1
1 Expected
SET @@global.binlog_direct_non_transactional_updates= @start_value;
SELECT @@GLOBAL.binlog_direct_non_transactional_updates;
####################################################################
# Displaying default value #
####################################################################
SET @start_value= @@global.binlog_direct_non_transactional_updates;
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
--echo 1 Expected
####################################################################
# Check if Value can set #
####################################################################
SET @@GLOBAL.binlog_direct_non_transactional_updates=1;
SELECT @@GLOBAL.binlog_direct_non_transactional_updates;
SET @@SESSION.binlog_direct_non_transactional_updates=1;
SELECT @@SESSION.binlog_direct_non_transactional_updates;
#################################################################
# Check if the value in GLOBAL Table matches value in variable #
#################################################################
SELECT @@GLOBAL.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
--echo 1 Expected
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
--echo 1 Expected
#################################################################
# Check if the value in SESSION Table matches value in variable #
#################################################################
SELECT @@SESSION.binlog_direct_non_transactional_updates = UCASE(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
--echo 1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='binlog_direct_non_transactional_updates';
--echo 1 Expected
################################################################################
# Check if binlog_direct_non_transactional_updates can be accessed with and #
# without @@ sign #
################################################################################
SELECT COUNT(@@binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(@@local.binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(@@SESSION.binlog_direct_non_transactional_updates);
--echo 1 Expected
SELECT COUNT(@@GLOBAL.binlog_direct_non_transactional_updates);
--echo 1 Expected
SET @@global.binlog_direct_non_transactional_updates= @start_value;
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