Commit 903e0b4e authored by hhunger@hh-nb.hungers's avatar hhunger@hh-nb.hungers

Merge hh-nb.hungers:/work/trees/mysql-5.1-build-src-clean

into  hh-nb.hungers:/work/merge/mysql-5.1-build
parents 85a01db2 f1850f5e
...@@ -4,7 +4,6 @@ COUNT(@@GLOBAL.myisam_use_mmap) ...@@ -4,7 +4,6 @@ COUNT(@@GLOBAL.myisam_use_mmap)
1 1
1 Expected 1 Expected
'#---------------------BS_STVARS_042_02----------------------#' '#---------------------BS_STVARS_042_02----------------------#'
SET @@GLOBAL.myisam_use_mmap=1;
"BUG:It should give error on setting this variable as it is readonly variable" "BUG:It should give error on setting this variable as it is readonly variable"
Expected error 'Read only variable' Expected error 'Read only variable'
SELECT COUNT(@@GLOBAL.myisam_use_mmap); SELECT COUNT(@@GLOBAL.myisam_use_mmap);
...@@ -16,7 +15,7 @@ SELECT @@GLOBAL.myisam_use_mmap = VARIABLE_VALUE ...@@ -16,7 +15,7 @@ SELECT @@GLOBAL.myisam_use_mmap = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='myisam_use_mmap'; WHERE VARIABLE_NAME='myisam_use_mmap';
@@GLOBAL.myisam_use_mmap = VARIABLE_VALUE @@GLOBAL.myisam_use_mmap = VARIABLE_VALUE
0 1
1 Expected 1 Expected
SELECT COUNT(@@GLOBAL.myisam_use_mmap); SELECT COUNT(@@GLOBAL.myisam_use_mmap);
COUNT(@@GLOBAL.myisam_use_mmap) COUNT(@@GLOBAL.myisam_use_mmap)
......
...@@ -39,7 +39,7 @@ SELECT COUNT(@@GLOBAL.myisam_use_mmap); ...@@ -39,7 +39,7 @@ SELECT COUNT(@@GLOBAL.myisam_use_mmap);
#################################################################### ####################################################################
#--error ER_INCORRECT_GLOBAL_LOCAL_VAR #--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SET @@GLOBAL.myisam_use_mmap=1; #SET @@GLOBAL.myisam_use_mmap=1;
--ECHO "BUG:It should give error on setting this variable as it is readonly variable" --ECHO "BUG:It should give error on setting this variable as it is readonly variable"
--echo Expected error 'Read only variable' --echo Expected error 'Read only variable'
......
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