1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixes for sys_vars and pbxt suites

This commit is contained in:
Sergei Golubchik
2011-10-28 14:24:02 +02:00
parent 29d01b0ac7
commit e3efc3d88d
27 changed files with 619 additions and 69 deletions

View File

@ -0,0 +1,21 @@
# bool readonly
#
# show values;
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@global.in_transaction;
select @@session.in_transaction;
show global variables like 'in_transaction';
show session variables like 'in_transaction';
select * from information_schema.global_variables where variable_name='in_transaction';
select * from information_schema.session_variables where variable_name='in_transaction';
#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global in_transaction=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session in_transaction=1;