mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
39018f2a5a
Renamed suite/rpl/include/rpl_sync.inc to rpl_sync_test.inc to remove clash with include/rpl_sync.inc
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
#
|
|
# This is a helper script for rpl_row_img.test. It creates
|
|
# all combinations MyISAM / InnoDB in a three server replication
|
|
# chain. Each engine combination is tested against the current
|
|
# seetings for binlog_row_image (on each server).
|
|
#
|
|
# The test script that is executed on every combination is the
|
|
# only argument to this wrapper script. See below.
|
|
#
|
|
# This script takes one parameter:
|
|
# - $row_img_test_script
|
|
# the name of the test script to include in every combination
|
|
#
|
|
# Sample usage:
|
|
# -- let $row_img_test_script= suite/rpl/include/rpl_row_img.test
|
|
# -- source include/rpl_row_img_general_loop.test
|
|
|
|
|
|
-- let $engine_type_a= 2
|
|
-- let $server_1_engine= MyISAM
|
|
while($engine_type_a)
|
|
{
|
|
-- let $engine_type_b= 2
|
|
-- let $server_2_engine= MyISAM
|
|
while($engine_type_b)
|
|
{
|
|
-- let $engine_type_c= 2
|
|
-- let $server_3_engine= MyISAM
|
|
while($engine_type_c)
|
|
{
|
|
-- echo ### engines: $server_1_engine, $server_2_engine, $server_3_engine
|
|
-- source $row_img_test_script
|
|
|
|
-- let $server_3_engine= InnoDB
|
|
-- dec $engine_type_c
|
|
}
|
|
-- let $server_2_engine= InnoDB
|
|
-- dec $engine_type_b
|
|
}
|
|
-- let $server_1_engine= InnoDB
|
|
-- dec $engine_type_a
|
|
}
|