disable sys_vars.innodb_use_sys_malloc_basic test for valgrind runs

This commit is contained in:
Sergei Golubchik 2012-02-01 15:33:37 +01:00
parent 26f3c33792
commit 6af588d820
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,4 @@
Valid values are 'ON' and 'OFF'
select @@global.innodb_adaptive_flushing in (0, 1);
@@global.innodb_adaptive_flushing in (0, 1)
1
select @@global.innodb_use_sys_malloc;
@@global.innodb_use_sys_malloc
1

View File

@ -5,11 +5,14 @@
--source include/have_innodb.inc
# when running with valgring, mtr uses --innodb-use-sys-malloc=0,
# while below we want to see the default value.
--source include/not_valgrind.inc
#
# show the global and session values;
#
--echo Valid values are 'ON' and 'OFF'
select @@global.innodb_adaptive_flushing in (0, 1);
select @@global.innodb_use_sys_malloc;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.innodb_use_sys_malloc;