diff options
Diffstat (limited to 'mysql-test/t/profiling.test')
-rw-r--r-- | mysql-test/t/profiling.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/profiling.test b/mysql-test/t/profiling.test index 29b694fa0bd..275c2d77c4a 100644 --- a/mysql-test/t/profiling.test +++ b/mysql-test/t/profiling.test @@ -1,4 +1,4 @@ ---source include/have_profiling.inc +--source include/have_community_features.inc # Verify that the protocol isn't violated if we ask for profiling info # before profiling has recorded anything. @@ -14,6 +14,7 @@ select @@profiling; set global profiling = ON; # But size is okay +set @start_value= @@global.profiling_history_size; set global profiling_history_size=100; show global variables like 'profil%'; @@ -261,6 +262,6 @@ drop function if exists f1; ## last thing in the file set session profiling = OFF; - +set global profiling_history_size= @start_value; ## --echo End of 5.0 tests |