summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorKristofer Pettersson <kpettersson@mysql.com>2008-05-21 09:50:54 +0200
committerKristofer Pettersson <kpettersson@mysql.com>2008-05-21 09:50:54 +0200
commit8d07122aff559d9e6db70b1098337c7d99cce371 (patch)
tree1a077f993d83105113d12ae50cd433bc24f205af /mysql-test/t
parent78cda882ae33e25487767553ca48529fde072cc0 (diff)
parent78cda882ae33e25487767553ca48529fde072cc0 (diff)
downloadmariadb-git-8d07122aff559d9e6db70b1098337c7d99cce371.tar.gz
Bug#32966 main.status fails
The failing test case is depending on unnecessary status variable output which changes based on build configuration. By reducing the output the test becomes more stable. mysql-test/r/status.result: Modified test case mysql-test/t/disabled.def: Enabled status.test mysql-test/t/status.test: Modified test case.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/disabled.def1
-rw-r--r--mysql-test/t/status.test4
2 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def
index 85f9691e443..83742e54531 100644
--- a/mysql-test/t/disabled.def
+++ b/mysql-test/t/disabled.def
@@ -13,7 +13,6 @@ federated_transactions : Bug#29523 Transactions do not work
ps_ddl : Bug#12093 2007-12-14 pending WL#4165 / WL#4166
csv_alter_table : Bug#33696 2008-01-21 pcrews no .result file - bug allows NULL columns in CSV tables
user_limits : Bug#23921 random failure of user_limits.test
-status : Bug#32966 main.status fails
thread_cache_size_func : Bug#36733 main.thread_cache_size_func fails randomly
binlog_cache_size_basic_32 : Bug #36522: Some tests of system variables have diffs on 64bit platorms
bulk_insert_buffer_size_basic_32 : Bug #36522: Some tests of system variables have diffs on 64bit platorms
diff --git a/mysql-test/t/status.test b/mysql-test/t/status.test
index ff033399434..3d200a9b4ea 100644
--- a/mysql-test/t/status.test
+++ b/mysql-test/t/status.test
@@ -246,7 +246,7 @@ eval select substring_index('$rnd_next2',0x9,-1)-substring_index('$rnd_next',0x9
# Bug#30252 Com_create_function is not incremented.
#
flush status;
-show status like 'Com%function%';
+show global status like 'Com%function';
DELIMITER //;
create function f1 (x INTEGER) returns integer
@@ -258,7 +258,7 @@ create function f1 (x INTEGER) returns integer
DELIMITER ;//
drop function f1;
-show status like 'Com%function%';
+show global status like 'Com%function';
# End of 5.1 tests