Commit e840c86e authored by Kristofer Pettersson's avatar Kristofer Pettersson

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.
parents fdd075d0 fdd075d0
...@@ -163,13 +163,11 @@ Com_show_status 8 ...@@ -163,13 +163,11 @@ Com_show_status 8
rnd_diff tmp_table_diff rnd_diff tmp_table_diff
20 8 20 8
flush status; flush status;
show status like 'Com%function%'; show global status like 'Com%function';
Variable_name Value Variable_name Value
Com_alter_function 0 Com_alter_function 0
Com_create_function 0 Com_create_function 0
Com_drop_function 0 Com_drop_function 0
Com_show_function_code 0
Com_show_function_status 0
create function f1 (x INTEGER) returns integer create function f1 (x INTEGER) returns integer
begin begin
declare ret integer; declare ret integer;
...@@ -177,10 +175,8 @@ set ret = x * 10; ...@@ -177,10 +175,8 @@ set ret = x * 10;
return ret; return ret;
end // end //
drop function f1; drop function f1;
show status like 'Com%function%'; show global status like 'Com%function';
Variable_name Value Variable_name Value
Com_alter_function 0 Com_alter_function 0
Com_create_function 1 Com_create_function 1
Com_drop_function 1 Com_drop_function 1
Com_show_function_code 0
Com_show_function_status 0
...@@ -13,7 +13,6 @@ federated_transactions : Bug#29523 Transactions do not work ...@@ -13,7 +13,6 @@ federated_transactions : Bug#29523 Transactions do not work
ps_ddl : Bug#12093 2007-12-14 pending WL#4165 / WL#4166 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 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 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 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 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 bulk_insert_buffer_size_basic_32 : Bug #36522: Some tests of system variables have diffs on 64bit platorms
......
...@@ -246,7 +246,7 @@ eval select substring_index('$rnd_next2',0x9,-1)-substring_index('$rnd_next',0x9 ...@@ -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. # Bug#30252 Com_create_function is not incremented.
# #
flush status; flush status;
show status like 'Com%function%'; show global status like 'Com%function';
DELIMITER //; DELIMITER //;
create function f1 (x INTEGER) returns integer create function f1 (x INTEGER) returns integer
...@@ -258,7 +258,7 @@ create function f1 (x INTEGER) returns integer ...@@ -258,7 +258,7 @@ create function f1 (x INTEGER) returns integer
DELIMITER ;// DELIMITER ;//
drop function f1; drop function f1;
show status like 'Com%function%';
show global status like 'Com%function';
# End of 5.1 tests # End of 5.1 tests
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