Current Path : /usr/opt/mysql57/mysql-test/suite/ndb/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/suite/ndb/t/ndb_optimized_node_selection.test |
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc -- source include/have_ndb.inc # store start value SET @global_start_value = @@global.ndb_optimized_node_selection; SELECT @global_start_value; # max value set session ndb_optimized_node_selection=3; show variables like 'ndb_optimized_node_selection'; # min value set session ndb_optimized_node_selection=0; show variables like 'ndb_optimized_node_selection'; # out of range set session ndb_optimized_node_selection=4; show variables like 'ndb_optimized_node_selection'; # global set global ndb_optimized_node_selection=1; show variables like 'ndb_optimized_node_selection'; # check it --connect (another_con, localhost, root,,) --connection another_con show variables like 'ndb_optimized_node_selection'; # reset set global ndb_optimized_node_selection=3; # does not work for some reason #SET @@global.ndb_optimized_node_selection = @global_start_value; SELECT @@global.ndb_optimized_node_selection;