--disable_warnings
--disable_query_log
--disable_result_log
--source ../t/test_init.inc
--enable_result_log
--enable_query_log
--enable_warnings
--let $MASTER_1_COMMENT_2_1_BACKUP= $MASTER_1_COMMENT_2_1
let $MASTER_1_COMMENT_2_1=
  COMMENT='table "tbl_a"'
  PARTITION BY RANGE(value) (
    PARTITION pt1 VALUES LESS THAN (5) COMMENT='srv "s_2_1"',
    PARTITION pt2 VALUES LESS THAN (10) COMMENT='srv "s_2_2"',
    PARTITION pt3 VALUES LESS THAN (15) COMMENT='srv "s_2_3"'
  );
--let $MASTER_1_COMMENT_2_2_BACKUP= $MASTER_1_COMMENT_2_2
let $MASTER_1_COMMENT_2_2=
  COMMENT='table "tbl_b"'
  PARTITION BY RANGE(value2) (
    PARTITION pt1 VALUES LESS THAN (5) COMMENT='srv "s_2_1"',
    PARTITION pt2 VALUES LESS THAN (10) COMMENT='srv "s_2_2"',
    PARTITION pt3 VALUES LESS THAN (15) COMMENT='srv "s_2_3"'
  );
--let $CHILD2_1_DROP_TABLES_BACKUP= $CHILD2_1_DROP_TABLES
let $CHILD2_1_DROP_TABLES=
  DROP TABLE IF EXISTS tbl_a;
--let $CHILD2_1_CREATE_TABLES_BACKUP= $CHILD2_1_CREATE_TABLES
let $CHILD2_1_CREATE_TABLES=
  CREATE TABLE tbl_a (
    value int NOT NULL,
    PRIMARY KEY(value)
  ) $CHILD2_1_ENGINE $CHILD2_1_CHARSET;
--let $CHILD2_1_SELECT_TABLES_BACKUP= $CHILD2_1_SELECT_TABLES
let $CHILD2_1_SELECT_TABLES=
  SELECT value FROM tbl_a ORDER BY value;
--let $CHILD2_1_DROP_TABLES2_BACKUP= $CHILD2_1_DROP_TABLES2
let $CHILD2_1_DROP_TABLES2=
  DROP TABLE IF EXISTS tbl_b;
--let $CHILD2_1_CREATE_TABLES2_BACKUP= $CHILD2_1_CREATE_TABLES2
let $CHILD2_1_CREATE_TABLES2=
  CREATE TABLE tbl_b (
    value2 int NOT NULL,
    PRIMARY KEY(value2)
  ) $CHILD2_1_ENGINE $CHILD2_1_CHARSET;
--let $CHILD2_1_SELECT_TABLES2_BACKUP= $CHILD2_1_SELECT_TABLES2
let $CHILD2_1_SELECT_TABLES2=
  SELECT value FROM tbl_b ORDER BY value2;
let $CHILD2_1_SELECT_ARGUMENT1=
  SELECT argument FROM mysql.general_log WHERE argument LIKE '%select %';
--let $CHILD2_2_DROP_TABLES_BACKUP= $CHILD2_2_DROP_TABLES
let $CHILD2_2_DROP_TABLES=
  DROP TABLE IF EXISTS tbl_a;
--let $CHILD2_2_CREATE_TABLES_BACKUP= $CHILD2_2_CREATE_TABLES
let $CHILD2_2_CREATE_TABLES=
  CREATE TABLE tbl_a (
    value int NOT NULL,
    PRIMARY KEY(value)
  ) $CHILD2_2_ENGINE $CHILD2_2_CHARSET;
--let $CHILD2_2_SELECT_TABLES_BACKUP= $CHILD2_2_SELECT_TABLES
let $CHILD2_2_SELECT_TABLES=
  SELECT value FROM tbl_a ORDER BY value;
--let $CHILD2_2_DROP_TABLES2_BACKUP= $CHILD2_2_DROP_TABLES2
let $CHILD2_2_DROP_TABLES2=
  DROP TABLE IF EXISTS tbl_b;
--let $CHILD2_2_CREATE_TABLES2_BACKUP= $CHILD2_2_CREATE_TABLES2
let $CHILD2_2_CREATE_TABLES2=
  CREATE TABLE tbl_b (
    value2 int NOT NULL,
    PRIMARY KEY(value2)
  ) $CHILD2_2_ENGINE $CHILD2_2_CHARSET;
--let $CHILD2_2_SELECT_TABLES2_BACKUP= $CHILD2_2_SELECT_TABLES2
let $CHILD2_2_SELECT_TABLES2=
  SELECT value FROM tbl_b ORDER BY value;
let $CHILD2_2_SELECT_ARGUMENT1=
  SELECT argument FROM mysql.general_log WHERE argument LIKE '%select %';
--let $CHILD2_3_DROP_TABLES_BACKUP= $CHILD2_3_DROP_TABLES
let $CHILD2_3_DROP_TABLES=
  DROP TABLE IF EXISTS tbl_a;
--let $CHILD2_3_CREATE_TABLES_BACKUP= $CHILD2_3_CREATE_TABLES
let $CHILD2_3_CREATE_TABLES=
  CREATE TABLE tbl_a (
    value int NOT NULL,
    PRIMARY KEY(value)
  ) $CHILD2_3_ENGINE $CHILD2_3_CHARSET;
--let $CHILD2_3_SELECT_TABLES_BACKUP= $CHILD2_3_SELECT_TABLES
let $CHILD2_3_SELECT_TABLES=
  SELECT value FROM tbl_a ORDER BY value;
--let $CHILD2_3_DROP_TABLES2_BACKUP= $CHILD2_3_DROP_TABLES2
let $CHILD2_3_DROP_TABLES2=
  DROP TABLE IF EXISTS tbl_b;
--let $CHILD2_3_CREATE_TABLES2_BACKUP= $CHILD2_3_CREATE_TABLES2
let $CHILD2_3_CREATE_TABLES2=
  CREATE TABLE tbl_b (
    value2 int NOT NULL,
    PRIMARY KEY(value2)
  ) $CHILD2_3_ENGINE $CHILD2_3_CHARSET;
--let $CHILD2_3_SELECT_TABLES2_BACKUP= $CHILD2_3_SELECT_TABLES2
let $CHILD2_3_SELECT_TABLES2=
  SELECT value FROM tbl_b ORDER BY value;
let $CHILD2_3_SELECT_ARGUMENT1=
  SELECT argument FROM mysql.general_log WHERE argument LIKE '%select %';
--let $OUTPUT_CHILD_GROUP2_BACKUP= $OUTPUT_CHILD_GROUP2
--let $OUTPUT_CHILD_GROUP2= 1
--let $USE_GENERAL_LOG_BACKUP= $USE_GENERAL_LOG
--let $USE_GENERAL_LOG= 1
