Commit b9790a81 authored by unknown's avatar unknown

shorten filenames


mysql-test/suite/parts/r/ndb_blob_partition.result:
  Rename: mysql-test/suite/partitions/r/ndb_blob_partition.result -> mysql-test/suite/parts/r/ndb_blob_partition.result
mysql-test/suite/parts/r/ndb_dd_backuprestore.result:
  Rename: mysql-test/suite/partitions/r/ndb_dd_backuprestore.result -> mysql-test/suite/parts/r/ndb_dd_backuprestore.result
mysql-test/suite/parts/r/ndb_partition_error.result:
  Rename: mysql-test/suite/partitions/r/ndb_partition_error.result -> mysql-test/suite/parts/r/ndb_partition_error.result
mysql-test/suite/parts/r/ndb_partition_list.result:
  Rename: mysql-test/suite/partitions/r/ndb_partition_list.result -> mysql-test/suite/parts/r/ndb_partition_list.result
mysql-test/suite/parts/r/ndb_partition_range.result:
  Rename: mysql-test/suite/partitions/r/ndb_partition_range.result -> mysql-test/suite/parts/r/ndb_partition_range.result
mysql-test/suite/parts/r/partition_alter1_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_alter1_innodb.result -> mysql-test/suite/parts/r/partition_alter1_innodb.result
mysql-test/suite/parts/r/partition_alter1_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_alter1_myisam.result -> mysql-test/suite/parts/r/partition_alter1_myisam.result
mysql-test/suite/parts/r/partition_alter2_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_alter2_innodb.result -> mysql-test/suite/parts/r/partition_alter2_innodb.result
mysql-test/suite/parts/r/partition_alter2_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_alter2_myisam.result -> mysql-test/suite/parts/r/partition_alter2_myisam.result
mysql-test/suite/parts/r/partition_alter3_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_alter3_innodb.result -> mysql-test/suite/parts/r/partition_alter3_innodb.result
mysql-test/suite/parts/r/partition_alter3_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_alter3_myisam.result -> mysql-test/suite/parts/r/partition_alter3_myisam.result
mysql-test/suite/parts/r/partition_alter4_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_alter4_innodb.result -> mysql-test/suite/parts/r/partition_alter4_innodb.result
mysql-test/suite/parts/r/partition_alter4_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_alter4_myisam.result -> mysql-test/suite/parts/r/partition_alter4_myisam.result
mysql-test/suite/parts/r/partition_basic_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_basic_innodb.result -> mysql-test/suite/parts/r/partition_basic_innodb.result
mysql-test/suite/parts/r/partition_basic_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_basic_myisam.result -> mysql-test/suite/parts/r/partition_basic_myisam.result
mysql-test/suite/parts/r/partition_bit_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_bit_innodb.result -> mysql-test/suite/parts/r/partition_bit_innodb.result
mysql-test/suite/parts/r/partition_bit_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_bit_myisam.result -> mysql-test/suite/parts/r/partition_bit_myisam.result
mysql-test/suite/parts/r/partition_bit_ndb.result:
  Rename: mysql-test/suite/partitions/r/partition_bit_ndb.result -> mysql-test/suite/parts/r/partition_bit_ndb.result
mysql-test/suite/parts/r/partition_char_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_char_innodb.result -> mysql-test/suite/parts/r/partition_char_innodb.result
mysql-test/suite/parts/r/partition_char_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_char_myisam.result -> mysql-test/suite/parts/r/partition_char_myisam.result
mysql-test/suite/parts/r/partition_datetime_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_datetime_innodb.result -> mysql-test/suite/parts/r/partition_datetime_innodb.result
mysql-test/suite/parts/r/partition_datetime_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_datetime_myisam.result -> mysql-test/suite/parts/r/partition_datetime_myisam.result
mysql-test/suite/parts/r/partition_decimal_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_decimal_innodb.result -> mysql-test/suite/parts/r/partition_decimal_innodb.result
mysql-test/suite/parts/r/partition_decimal_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_decimal_myisam.result -> mysql-test/suite/parts/r/partition_decimal_myisam.result
mysql-test/suite/parts/r/partition_engine_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_engine_innodb.result -> mysql-test/suite/parts/r/partition_engine_innodb.result
mysql-test/suite/parts/r/partition_engine_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_engine_myisam.result -> mysql-test/suite/parts/r/partition_engine_myisam.result
mysql-test/suite/parts/r/partition_engine_ndb.result:
  Rename: mysql-test/suite/partitions/r/partition_engine_ndb.result -> mysql-test/suite/parts/r/partition_engine_ndb.result
mysql-test/suite/parts/r/partition_float_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_float_innodb.result -> mysql-test/suite/parts/r/partition_float_innodb.result
mysql-test/suite/parts/r/partition_float_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_float_myisam.result -> mysql-test/suite/parts/r/partition_float_myisam.result
mysql-test/suite/parts/r/partition_int_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_int_innodb.result -> mysql-test/suite/parts/r/partition_int_innodb.result
mysql-test/suite/parts/r/partition_int_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_int_myisam.result -> mysql-test/suite/parts/r/partition_int_myisam.result
mysql-test/suite/parts/r/partition_int_ndb.result:
  Rename: mysql-test/suite/partitions/r/partition_int_ndb.result -> mysql-test/suite/parts/r/partition_int_ndb.result
mysql-test/suite/parts/r/partition_special_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_special_innodb.result -> mysql-test/suite/parts/r/partition_special_innodb.result
mysql-test/suite/parts/r/partition_special_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_special_myisam.result -> mysql-test/suite/parts/r/partition_special_myisam.result
mysql-test/suite/parts/r/partition_syntax_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_syntax_innodb.result -> mysql-test/suite/parts/r/partition_syntax_innodb.result
mysql-test/suite/parts/r/partition_syntax_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_syntax_myisam.result -> mysql-test/suite/parts/r/partition_syntax_myisam.result
mysql-test/suite/parts/r/partition_syntax_ndb.result:
  Rename: mysql-test/suite/partitions/r/partition_syntax_ndb.result -> mysql-test/suite/parts/r/partition_syntax_ndb.result
mysql-test/suite/parts/r/partition_t55.out:
  Rename: mysql-test/suite/partitions/r/partition_t55.out -> mysql-test/suite/parts/r/partition_t55.out
mysql-test/suite/parts/r/partition_value_innodb.result:
  Rename: mysql-test/suite/partitions/r/partition_value_innodb.result -> mysql-test/suite/parts/r/partition_value_innodb.result
mysql-test/suite/parts/r/partition_value_myisam.result:
  Rename: mysql-test/suite/partitions/r/partition_value_myisam.result -> mysql-test/suite/parts/r/partition_value_myisam.result
mysql-test/suite/parts/r/partition_value_ndb.result:
  Rename: mysql-test/suite/partitions/r/partition_value_ndb.result -> mysql-test/suite/parts/r/partition_value_ndb.result
mysql-test/suite/parts/r/rpl_ndb_dd_partitions.result:
  Rename: mysql-test/suite/partitions/r/rpl_ndb_dd_partitions.result -> mysql-test/suite/parts/r/rpl_ndb_dd_partitions.result
mysql-test/suite/parts/t/disabled.def:
  Rename: mysql-test/suite/partitions/t/disabled.def -> mysql-test/suite/parts/t/disabled.def
mysql-test/suite/parts/t/ndb_blob_partition.test:
  Rename: mysql-test/suite/partitions/t/ndb_blob_partition.test -> mysql-test/suite/parts/t/ndb_blob_partition.test
mysql-test/suite/parts/t/ndb_dd_backuprestore.test:
  Rename: mysql-test/suite/partitions/t/ndb_dd_backuprestore.test -> mysql-test/suite/parts/t/ndb_dd_backuprestore.test
mysql-test/suite/parts/t/ndb_partition_error.test:
  Rename: mysql-test/suite/partitions/t/ndb_partition_error.test -> mysql-test/suite/parts/t/ndb_partition_error.test
mysql-test/suite/parts/t/ndb_partition_key.test:
  Rename: mysql-test/suite/partitions/t/ndb_partition_key.test -> mysql-test/suite/parts/t/ndb_partition_key.test
mysql-test/suite/parts/t/ndb_partition_list.test:
  Rename: mysql-test/suite/partitions/t/ndb_partition_list.test -> mysql-test/suite/parts/t/ndb_partition_list.test
mysql-test/suite/parts/t/ndb_partition_range.test:
  Rename: mysql-test/suite/partitions/t/ndb_partition_range.test -> mysql-test/suite/parts/t/ndb_partition_range.test
mysql-test/suite/parts/t/partition_sessions.test:
  Rename: mysql-test/suite/partitions/t/partition_sessions.test -> mysql-test/suite/parts/t/partition_sessions.test
mysql-test/suite/parts/t/rpl_ndb_dd_partitions.test:
  Rename: mysql-test/suite/partitions/t/rpl_ndb_dd_partitions.test -> mysql-test/suite/parts/t/rpl_ndb_dd_partitions.test
mysql-test/suite/parts/inc/partition.pre:
  Rename: mysql-test/suite/parts/include/partition.pre -> mysql-test/suite/parts/inc/partition.pre
mysql-test/suite/parts/inc/partition_20.inc:
  Rename: mysql-test/suite/parts/include/partition_20.inc -> mysql-test/suite/parts/inc/partition_20.inc
mysql-test/suite/parts/inc/partition_bigint.inc:
  Rename: mysql-test/suite/parts/include/partition_bigint.inc -> mysql-test/suite/parts/inc/partition_bigint.inc
mysql-test/suite/parts/inc/partition_binary.inc:
  Rename: mysql-test/suite/parts/include/partition_binary.inc -> mysql-test/suite/parts/inc/partition_binary.inc
mysql-test/suite/parts/inc/partition_bit.inc:
  Rename: mysql-test/suite/parts/include/partition_bit.inc -> mysql-test/suite/parts/inc/partition_bit.inc
mysql-test/suite/parts/inc/partition_blob.inc:
  Rename: mysql-test/suite/parts/include/partition_blob.inc -> mysql-test/suite/parts/inc/partition_blob.inc
mysql-test/suite/parts/inc/partition_blocked_sql_funcs.inc:
  Rename: mysql-test/suite/parts/include/partition_blocked_sql_funcs.inc -> mysql-test/suite/parts/inc/partition_blocked_sql_funcs.inc
mysql-test/suite/parts/inc/partition_char.inc:
  Rename: mysql-test/suite/parts/include/partition_char.inc -> mysql-test/suite/parts/inc/partition_char.inc
mysql-test/suite/parts/inc/partition_check_drop.inc:
  Rename: mysql-test/suite/parts/include/partition_check_drop.inc -> mysql-test/suite/parts/inc/partition_check_drop.inc
mysql-test/suite/parts/inc/partition_check_read.inc:
  Rename: mysql-test/suite/parts/include/partition_check_read.inc -> mysql-test/suite/parts/inc/partition_check_read.inc
mysql-test/suite/parts/inc/partition_check_read1.inc:
  Rename: mysql-test/suite/parts/include/partition_check_read1.inc -> mysql-test/suite/parts/inc/partition_check_read1.inc
mysql-test/suite/parts/inc/partition_check_read2.inc:
  Rename: mysql-test/suite/parts/include/partition_check_read2.inc -> mysql-test/suite/parts/inc/partition_check_read2.inc
mysql-test/suite/parts/inc/partition_cleanup.inc:
  Rename: mysql-test/suite/parts/include/partition_cleanup.inc -> mysql-test/suite/parts/inc/partition_cleanup.inc
mysql-test/suite/parts/inc/partition_date.inc:
  Rename: mysql-test/suite/parts/include/partition_date.inc -> mysql-test/suite/parts/inc/partition_date.inc
mysql-test/suite/parts/inc/partition_datetime.inc:
  Rename: mysql-test/suite/parts/include/partition_datetime.inc -> mysql-test/suite/parts/inc/partition_datetime.inc
mysql-test/suite/parts/inc/partition_decimal.inc:
  Rename: mysql-test/suite/parts/include/partition_decimal.inc -> mysql-test/suite/parts/inc/partition_decimal.inc
mysql-test/suite/parts/inc/partition_double.inc:
  Rename: mysql-test/suite/parts/include/partition_double.inc -> mysql-test/suite/parts/inc/partition_double.inc
mysql-test/suite/parts/inc/partition_enum.inc:
  Rename: mysql-test/suite/parts/include/partition_enum.inc -> mysql-test/suite/parts/inc/partition_enum.inc
mysql-test/suite/parts/inc/partition_float.inc:
  Rename: mysql-test/suite/parts/include/partition_float.inc -> mysql-test/suite/parts/inc/partition_float.inc
mysql-test/suite/parts/inc/partition_int.inc:
  Rename: mysql-test/suite/parts/include/partition_int.inc -> mysql-test/suite/parts/inc/partition_int.inc
mysql-test/suite/parts/inc/partition_key_16col.inc:
  Rename: mysql-test/suite/parts/include/partition_key_16col.inc -> mysql-test/suite/parts/inc/partition_key_16col.inc
mysql-test/suite/parts/inc/partition_key_32col.inc:
  Rename: mysql-test/suite/parts/include/partition_key_32col.inc -> mysql-test/suite/parts/inc/partition_key_32col.inc
mysql-test/suite/parts/inc/partition_key_4col.inc:
  Rename: mysql-test/suite/parts/include/partition_key_4col.inc -> mysql-test/suite/parts/inc/partition_key_4col.inc
mysql-test/suite/parts/inc/partition_key_8col.inc:
  Rename: mysql-test/suite/parts/include/partition_key_8col.inc -> mysql-test/suite/parts/inc/partition_key_8col.inc
mysql-test/suite/parts/inc/partition_layout_check1.inc:
  Rename: mysql-test/suite/parts/include/partition_layout_check1.inc -> mysql-test/suite/parts/inc/partition_layout_check1.inc
mysql-test/suite/parts/inc/partition_layout_check2.inc:
  Rename: mysql-test/suite/parts/include/partition_layout_check2.inc -> mysql-test/suite/parts/inc/partition_layout_check2.inc
mysql-test/suite/parts/inc/partition_mediumint.inc:
  Rename: mysql-test/suite/parts/include/partition_mediumint.inc -> mysql-test/suite/parts/inc/partition_mediumint.inc
mysql-test/suite/parts/inc/partition_set.inc:
  Rename: mysql-test/suite/parts/include/partition_set.inc -> mysql-test/suite/parts/inc/partition_set.inc
mysql-test/suite/parts/inc/partition_smallint.inc:
  Rename: mysql-test/suite/parts/include/partition_smallint.inc -> mysql-test/suite/parts/inc/partition_smallint.inc
mysql-test/suite/parts/inc/partition_text.inc:
  Rename: mysql-test/suite/parts/include/partition_text.inc -> mysql-test/suite/parts/inc/partition_text.inc
mysql-test/suite/parts/inc/partition_time.inc:
  Rename: mysql-test/suite/parts/include/partition_time.inc -> mysql-test/suite/parts/inc/partition_time.inc
mysql-test/suite/parts/inc/partition_timestamp.inc:
  Rename: mysql-test/suite/parts/include/partition_timestamp.inc -> mysql-test/suite/parts/inc/partition_timestamp.inc
mysql-test/suite/parts/inc/partition_tinyint.inc:
  Rename: mysql-test/suite/parts/include/partition_tinyint.inc -> mysql-test/suite/parts/inc/partition_tinyint.inc
mysql-test/suite/parts/inc/partition_trigg1.inc:
  Rename: mysql-test/suite/parts/include/partition_trigg1.inc -> mysql-test/suite/parts/inc/partition_trigg1.inc
mysql-test/suite/parts/inc/partition_trigg2.inc:
  Rename: mysql-test/suite/parts/include/partition_trigg2.inc -> mysql-test/suite/parts/inc/partition_trigg2.inc
mysql-test/suite/parts/inc/partition_trigg3.inc:
  Rename: mysql-test/suite/parts/include/partition_trigg3.inc -> mysql-test/suite/parts/inc/partition_trigg3.inc
mysql-test/suite/parts/inc/partition_value.inc:
  Rename: mysql-test/suite/parts/include/partition_value.inc -> mysql-test/suite/parts/inc/partition_value.inc
mysql-test/suite/parts/inc/partition_varbinary.inc:
  Rename: mysql-test/suite/parts/include/partition_varbinary.inc -> mysql-test/suite/parts/inc/partition_varbinary.inc
mysql-test/suite/parts/inc/partition_varchar.inc:
  Rename: mysql-test/suite/parts/include/partition_varchar.inc -> mysql-test/suite/parts/inc/partition_varchar.inc
mysql-test/suite/parts/inc/partition_year.inc:
  Rename: mysql-test/suite/parts/include/partition_year.inc -> mysql-test/suite/parts/inc/partition_year.inc
mysql-test/suite/parts/inc/part_supported_sql_funcs_int_ch1.inc:
  Rename: mysql-test/suite/parts/inc/partition_supported_sql_funcs_int_ch1.in -> mysql-test/suite/parts/inc/part_supported_sql_funcs_int_ch1.inc
mysql-test/suite/parts/inc/part_supported_sql_funcs_int_date.inc:
  Rename: mysql-test/suite/parts/inc/partition_supported_sql_funcs_int_date.in -> mysql-test/suite/parts/inc/part_supported_sql_funcs_int_date.inc
mysql-test/suite/parts/inc/part_supported_sql_funcs_int_float.inc:
  Rename: mysql-test/suite/parts/inc/partition_supported_sql_funcs_int_float.in -> mysql-test/suite/parts/inc/part_supported_sql_funcs_int_float.inc
mysql-test/suite/parts/inc/part_supported_sql_funcs_int_int.inc:
  Rename: mysql-test/suite/parts/inc/partition_supported_sql_funcs_int_int.in -> mysql-test/suite/parts/inc/part_supported_sql_funcs_int_int.inc
mysql-test/suite/parts/r/part_blocked_sql_func_innodb.result:
  Rename: mysql-test/suite/parts/r/partition_blocked_sql_func_innodb.result -> mysql-test/suite/parts/r/part_blocked_sql_func_innodb.result
mysql-test/suite/parts/r/part_blocked_sql_func_myisam.result:
  Rename: mysql-test/suite/parts/r/partition_blocked_sql_func_myisam.result -> mysql-test/suite/parts/r/part_blocked_sql_func_myisam.result
mysql-test/suite/parts/r/part_supported_sql_func_ndb.result:
  Rename: mysql-test/suite/parts/r/partition_supported_sql_func_ndb.result -> mysql-test/suite/parts/r/part_supported_sql_func_ndb.result
mysql-test/suite/parts/inc/part_supported_sql_funcs_int_time.inc:
  Rename: mysql-test/suite/parts/inc/part_supported_sql_funcs_int_time.cin -> mysql-test/suite/parts/inc/part_supported_sql_funcs_int_time.inc
parent 9cc1e8c2
......@@ -51,7 +51,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -66,7 +66,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -89,7 +89,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -113,7 +113,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -136,7 +136,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -162,7 +162,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -185,7 +185,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -208,6 +208,6 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
################################################################################
# t/partition_supported_sql_funcs_delete.inc # # #
# t/part_supported_sql_funcs_delete.inc # # #
# Purpose: #
# Delete access of the tests frame for allowed sql functions #
# #
......
......@@ -34,12 +34,12 @@ if ($do_pk_tests)
{
--echo # 1.1.1 PRIMARY KEY consisting of one column
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
# This must fail, because PRIMARY KEY does not contain f_int1
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
# The value of the following test is maybe covered by 1.1.4.
......@@ -47,29 +47,29 @@ if ($more_pk_ui_tests)
{
--echo # 1.1.2 UNIQUE INDEX consisting of one column
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
# This must fail, because UNIQUE INDEX does not contain f_int1
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
if ($do_pk_tests)
{
--echo # 1.1.3 PRIMARY KEY consisting of two columns
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
--echo # 1.1.4 UNIQUE INDEX consisting of two columns
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
#
--echo #------------------------------------------------------------------------
......@@ -82,30 +82,30 @@ if ($do_pk_tests)
{
--echo # 1.2.1 PRIMARY KEY consisting of two columns
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $alter= ALTER TABLE t1 ADD PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
}
--echo # 1.2.2 UNIQUE INDEX consisting of two columns
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
if ($do_pk_tests)
{
--echo # 1.2.3 PRIMARY KEY and UNIQUE INDEX consisting of two columns
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int1,f_int2), ADD PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $alter= ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2,f_int1), ADD PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $unique= ;
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
}
#
......@@ -131,14 +131,14 @@ if ($more_pk_ui_tests)
--echo # 2.1.1 DROP PRIMARY KEY consisting of one column
let $unique= , PRIMARY KEY(f_int1);
let $alter= ALTER TABLE t1 DROP PRIMARY KEY;
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
#
--echo # 2.1.2 DROP UNIQUE INDEX consisting of one column
let $unique= , UNIQUE INDEX uidx1 (f_int1);
let $alter= ALTER TABLE t1 DROP INDEX uidx1;
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
#
if ($do_pk_tests)
......@@ -146,20 +146,20 @@ if ($more_pk_ui_tests)
--echo # 2.1.3 DROP PRIMARY KEY consisting of two columns
let $alter= ALTER TABLE t1 DROP PRIMARY KEY;
let $unique= , PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
let $unique= , PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
#
--echo # 2.1.4 DROP UNIQUE INDEX consisting of two columns
let $alter= ALTER TABLE t1 DROP INDEX uidx1;
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
#
......@@ -168,16 +168,16 @@ if ($do_pk_tests)
--echo # 2.1.5 DROP PRIMARY KEY + UNIQUE INDEX consisting of two columns
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), PRIMARY KEY(f_int2,f_int1);
let $alter= ALTER TABLE t1 DROP PRIMARY KEY, DROP INDEX uidx1;
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1), PRIMARY KEY(f_int1,f_int2);
let $alter= ALTER TABLE t1 DROP PRIMARY KEY, DROP INDEX uidx1;
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
}
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), UNIQUE INDEX uidx2 (f_int2,f_int1);
let $alter= ALTER TABLE t1 DROP INDEX uidx1, DROP INDEX uidx2;
--source suite/partitions/include/partition_alter_11.inc
--source suite/parts/inc/partition_alter_11.inc
# --source include/partition_alter_11.inc
#
--echo #------------------------------------------------------------------------
......@@ -190,20 +190,20 @@ if ($do_pk_tests)
--echo # 2.2.1 DROP PRIMARY KEY consisting of two columns
let $alter= ALTER TABLE t1 DROP PRIMARY KEY;
let $unique= , PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $unique= , PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
}
#
--echo # 2.2.2 DROP UNIQUE INDEX consisting of two columns
let $alter= ALTER TABLE t1 DROP INDEX uidx1;
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
#
if ($do_pk_tests)
......@@ -211,16 +211,16 @@ if ($do_pk_tests)
--echo # 2.2.3 DROP PRIMARY KEY + UNIQUE INDEX consisting of two columns
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), PRIMARY KEY(f_int2,f_int1);
let $alter= ALTER TABLE t1 DROP PRIMARY KEY, DROP INDEX uidx1;
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1), PRIMARY KEY(f_int1,f_int2);
let $alter= ALTER TABLE t1 DROP PRIMARY KEY, DROP INDEX uidx1;
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
}
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), UNIQUE INDEX uidx2 (f_int2,f_int1);
let $alter= ALTER TABLE t1 DROP INDEX uidx1, DROP INDEX uidx2;
--source suite/partitions/include/partition_alter_13.inc
--source suite/parts/inc/partition_alter_13.inc
# --source include/partition_alter_13.inc
if (0)
......
......@@ -33,7 +33,7 @@ SELECT IF(9999 - 1000 + 1 > @max_row, @max_row , 9999 - 1000 + 1)
# DEBUG SELECT @exp_row_count;
# 4. Print the layout, check Readability
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo #------------------------------------------------------------------------
--echo # 1.1 Increase number of PARTITIONS
......@@ -45,16 +45,16 @@ ALTER TABLE t1 ADD PARTITION (PARTITION part2);
--echo # 1.1.2 Assign HASH partitioning
ALTER TABLE t1 PARTITION BY HASH(CAST(YEAR(f_date) AS SIGNED INTEGER));
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo # 1.1.3 Assign other HASH partitioning to already partitioned table
--echo # + test and switch back + test
ALTER TABLE t1 PARTITION BY HASH(CAST(f_varchar AS SIGNED INTEGER));
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
ALTER TABLE t1 PARTITION BY HASH(CAST(YEAR(f_date) AS SIGNED INTEGER));
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo # 1.1.4 Add PARTITIONS not fitting to HASH --> must fail
--error ER_PARTITION_WRONG_VALUES_ERROR
......@@ -65,7 +65,7 @@ ALTER TABLE t1 ADD PARTITION (PARTITION part2 VALUES LESS THAN (0));
--echo # 1.1.5 Add two named partitions + test
ALTER TABLE t1 ADD PARTITION (PARTITION part1, PARTITION part7);
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo # 1.1.6 Add two named partitions, name clash --> must fail
--error ER_SAME_NAME_PARTITION
......@@ -74,12 +74,12 @@ ALTER TABLE t1 ADD PARTITION (PARTITION part1, PARTITION part7);
--echo # 1.1.7 Add one named partition + test
ALTER TABLE t1 ADD PARTITION (PARTITION part2);
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo # 1.1.8 Add four not named partitions + test
ALTER TABLE t1 ADD PARTITION PARTITIONS 4;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
--echo #------------------------------------------------------------------------
--echo # 1.2 Decrease number of PARTITIONS
......@@ -102,7 +102,7 @@ while ($loop)
{
ALTER TABLE t1 COALESCE PARTITION 1;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
dec $loop;
}
--echo # 1.2.5 COALESCE of last partition --> must fail
......@@ -112,13 +112,13 @@ ALTER TABLE t1 COALESCE PARTITION 1;
--echo # 1.2.6 Remove partitioning
ALTER TABLE t1 REMOVE PARTITIONING;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read1.inc
--source suite/parts/inc/partition_check_read1.inc
#
--echo # 1.2.7 Remove partitioning from not partitioned table --> ????
ALTER TABLE t1 REMOVE PARTITIONING;
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
# --source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
# --source suite/parts/inc/partition_check_drop.inc
--echo
--echo #========================================================================
......@@ -135,7 +135,7 @@ $column_list
eval $insert_all;
# 4. Print the layout, check Readability
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
#
--echo #------------------------------------------------------------------------
--echo # 2.1 Increase number of PARTITIONS
......@@ -144,7 +144,7 @@ eval $insert_all;
--echo # 2.1.1 Assign KEY partitioning
ALTER TABLE t1 PARTITION BY KEY(f_int1);
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
#
--echo # 2.1.2 Add PARTITIONS not fitting to KEY --> must fail
--error ER_PARTITION_WRONG_VALUES_ERROR
......@@ -155,17 +155,17 @@ ALTER TABLE t1 ADD PARTITION (PARTITION part2 VALUES LESS THAN (0));
--echo # 2.1.3 Add two named partitions + test
ALTER TABLE t1 ADD PARTITION (PARTITION part1, PARTITION part7);
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
#
--echo # 2.1.4 Add one named partition + test
ALTER TABLE t1 ADD PARTITION (PARTITION part2);
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
#
--echo # 2.1.5 Add four not named partitions + test
ALTER TABLE t1 ADD PARTITION PARTITIONS 4;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
--echo #------------------------------------------------------------------------
--echo # 2.2 Decrease number of PARTITIONS
......@@ -181,7 +181,7 @@ while ($loop)
{
ALTER TABLE t1 COALESCE PARTITION 1;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
dec $loop;
}
--echo # 2.2.5 COALESCE of last partition --> must fail
......@@ -191,11 +191,11 @@ ALTER TABLE t1 COALESCE PARTITION 1;
--echo # 2.2.6 Remove partitioning
ALTER TABLE t1 REMOVE PARTITIONING;
--source include/partition_layout.inc
--source suite/partitions/include/partition_check_read2.inc
--source suite/parts/inc/partition_check_read2.inc
#
--echo # 2.2.7 Remove partitioning from not partitioned table --> ????
ALTER TABLE t1 REMOVE PARTITIONING;
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
# --source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
# --source suite/parts/inc/partition_check_drop.inc
......@@ -21,19 +21,19 @@
--echo #------------------------------------------------------------------------
--echo # 1.1 ALTER ... ANALYZE PARTITION part_1;
let $alter= ALTER TABLE t1 ANALYZE PARTITION part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 1.2 ALTER ... ANALYZE PARTITION part_1,part_2;
let $alter= ALTER TABLE t1 ANALYZE PARTITION part_1,part_2;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 1.3 ALTER ... ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10;
let $alter= ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 1.4 ALTER ... ANALYZE PARTITION part_1,part_1,part_1;
let $alter= ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo #------------------------------------------------------------------------
......@@ -41,19 +41,19 @@ let $alter= ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1;
--echo #------------------------------------------------------------------------
--echo # 2.1 ALTER ... CHECK PARTITION part_1;
let $alter= ALTER TABLE t1 CHECK PARTITION part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 2.2 ALTER ... CHECK PARTITION part_1,part_2;
let $alter= ALTER TABLE t1 CHECK PARTITION part_1,part_2;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 2.3 ALTER ... CHECK PARTITION part_1,part_2,part_5,part_6,part_10;
let $alter= ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 2.4 ALTER ... CHECK PARTITION part_1,part_1,part_1;
let $alter= ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo #------------------------------------------------------------------------
......@@ -61,19 +61,19 @@ let $alter= ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1;
--echo #------------------------------------------------------------------------
--echo # 3.1 ALTER ... OPTIMIZE PARTITION part_1;
let $alter= ALTER TABLE t1 OPTIMIZE PARTITION part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 3.2 ALTER ... OPTIMIZE PARTITION part_1,part_2;
let $alter= ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 3.3 ALTER ... OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10;
let $alter= ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 3.4 ALTER ... OPTIMIZE PARTITION part_1,part_1,part_1;
let $alter= ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo #------------------------------------------------------------------------
......@@ -81,19 +81,19 @@ let $alter= ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1;
--echo #------------------------------------------------------------------------
--echo # 4.1 ALTER ... REBUILD PARTITION part_1;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 4.2 ALTER ... REBUILD PARTITION part_1,part_2;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_2;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 4.3 ALTER ... REBUILD PARTITION part_1,part_2,part_5,part_6,part_10;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 4.4 ALTER ... REBUILD PARTITION part_1,part_1,part_1;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo #------------------------------------------------------------------------
......@@ -101,19 +101,19 @@ let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1;
--echo #------------------------------------------------------------------------
--echo # 5.1 ALTER ... REBUILD PARTITION part_1;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 5.2 ALTER ... REBUILD PARTITION part_1,part_2;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_2;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 5.3 ALTER ... REBUILD PARTITION part_1,part_2,part_5,part_6,part_10;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo # 5.4 ALTER ... REBUILD PARTITION part_1,part_1,part_1;
let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
--echo #------------------------------------------------------------------------
......@@ -121,6 +121,6 @@ let $alter= ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1;
--echo #------------------------------------------------------------------------
--echo # 6.1 ALTER ... REMOVE PARTITIONING;
let $alter= ALTER TABLE t1 REMOVE PARTITIONING;
--source suite/partitions/include/partition_alter_41.inc
--source suite/parts/inc/partition_alter_41.inc
# --source include/partition_alter_41.inc
......@@ -62,7 +62,7 @@ if ($unexpected_error)
if ($run_test)
{
eval $insert_second_half;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
}
DROP TABLE t1;
......@@ -55,7 +55,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY KEY
......@@ -68,7 +68,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST
......@@ -89,7 +89,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE
......@@ -111,7 +111,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY HASH
......@@ -132,7 +132,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY KEY
......@@ -156,7 +156,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY HASH
......@@ -177,7 +177,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY KEY
......@@ -198,5 +198,5 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
......@@ -55,7 +55,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY KEY
......@@ -68,7 +68,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST
......@@ -89,7 +89,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE
......@@ -111,7 +111,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY HASH
......@@ -132,7 +132,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY KEY
......@@ -156,7 +156,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY HASH
......@@ -177,7 +177,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY KEY
......@@ -198,5 +198,5 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
......@@ -55,7 +55,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY KEY
......@@ -68,7 +68,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST
......@@ -89,7 +89,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE
......@@ -111,7 +111,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY HASH
......@@ -132,7 +132,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY KEY
......@@ -156,7 +156,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY HASH
......@@ -177,7 +177,7 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY KEY
......@@ -198,5 +198,5 @@ $column_list
$unique
)
$partitioning;
--source suite/partitions/include/partition_alter_1.inc
--source suite/parts/inc/partition_alter_1.inc
# --source include/partition_alter_1.inc
......@@ -28,7 +28,7 @@
--echo #------------------------------------------------------------------------
--echo # 1.1 The partitioning function contains one column.
let $unique= ;
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
#
--echo # 1.1.1 with DATA DIECTORY/INDEX DIRECTORY
......@@ -49,16 +49,16 @@ let $unique= ;
let $index_directory = `select @indx_dir`;
let $with_directories= 1;
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
--source suite/partitions/include/partition_directory.inc
--source suite/parts/inc/partition_directory.inc
# --source include/partition_methods1.inc
let $with_directories= 0;
--enable_query_log
#
--echo # 1.2 The partitioning function contains two columns.
let $unique= ;
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
#
--echo #------------------------------------------------------------------------
......@@ -71,12 +71,12 @@ if ($more_pk_ui_tests)
{
--echo # 2.1 PRIMARY KEY consisting of one column
let $unique= , PRIMARY KEY(f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
}
--echo # 2.2 UNIQUE INDEX consisting of one column
let $unique= , UNIQUE INDEX uidx1 (f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
--echo # 2.2.1 with DATA DIECTORY/INDEX DIRECTORY
......@@ -97,7 +97,7 @@ if ($more_pk_ui_tests)
let $index_directory = `select @indx_dir`;
let $with_directories= TRUE;
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
let $with_directories= FALSE;
--enable_query_log
......@@ -106,19 +106,19 @@ if ($more_pk_ui_tests)
{
--echo # 2.3 PRIMARY KEY consisting of two columns
let $unique= , PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
let $unique= , PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
}
#
--echo # 2.4 UNIQUE INDEX consisting of two columns
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
#
}
......@@ -126,14 +126,14 @@ if ($more_pk_ui_tests)
if ($do_pk_tests)
{
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1), PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
}
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), UNIQUE INDEX uidx2 (f_int2,f_int1);
--source suite/partitions/include/partition_methods1.inc
--source suite/parts/inc/partition_methods1.inc
# --source include/partition_methods1.inc
--echo #------------------------------------------------------------------------
......@@ -147,20 +147,20 @@ if ($more_pk_ui_tests)
{
--echo # 3.1 PRIMARY KEY consisting of two columns
let $unique= , PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
let $unique= , PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
}
#
--echo # 3.2 UNIQUE INDEX consisting of two columns
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
}
#
......@@ -168,12 +168,12 @@ if ($more_pk_ui_tests)
if ($do_pk_tests)
{
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), PRIMARY KEY(f_int2,f_int1);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
let $unique= , UNIQUE INDEX uidx1 (f_int2,f_int1), PRIMARY KEY(f_int1,f_int2);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
}
let $unique= , UNIQUE INDEX uidx1 (f_int1,f_int2), UNIQUE INDEX uidx2 (f_int2,f_int1);
--source suite/partitions/include/partition_methods2.inc
--source suite/parts/inc/partition_methods2.inc
# --source include/partition_methods2.inc
......@@ -45,7 +45,7 @@
--echo # Start usability test (include/partition_check.inc)
# Print the CREATE TABLE STATEMENT and store the current layout of the table
--source suite/partitions/include/partition_layout_check1.inc
--source suite/parts/inc/partition_layout_check1.inc
# --source include/partition_layout_check1.inc
......@@ -283,12 +283,12 @@ if ($any_unique)
## 2.1 Read all existing and some not existing records of table
# per f_int1 used in partitioning function
let $col_to_check= f_int1;
--source suite/partitions/include/partition_check_read.inc
--source suite/parts/inc/partition_check_read.inc
# --source include/partition_check_read.inc
## 2.2 Read all existing and some not existing records of table
# per f_int2 used in partitioning function
let $col_to_check= f_int2;
--source suite/partitions/include/partition_check_read.inc
--source suite/parts/inc/partition_check_read.inc
if ($fixed_bug18735)
{
......@@ -690,7 +690,7 @@ if ($any_unique)
ON DUPLICATE KEY
UPDATE f_int1 = 2 * @max_row + source_tab.f_int1,
f_charbig = 'was updated';
--source suite/partitions/include/partition_20.inc
--source suite/parts/inc/partition_20.inc
# --source include/partition_20.inc
}
......@@ -706,7 +706,7 @@ if ($any_unique)
ON DUPLICATE KEY
UPDATE f_int2 = 2 * @max_row + source_tab.f_int1,
f_charbig = 'was updated';
--source suite/partitions/include/partition_20.inc
--source suite/parts/inc/partition_20.inc
# --source include/partition_20.inc
}
......@@ -720,7 +720,7 @@ if ($any_unique)
UPDATE f_int1 = 2 * @max_row + source_tab.f_int1,
f_int2 = 2 * @max_row + source_tab.f_int1,
f_charbig = 'was updated';
--source suite/partitions/include/partition_20.inc
--source suite/parts/inc/partition_20.inc
# --source include/partition_20.inc
## 6.4 REPLACE
......@@ -991,28 +991,28 @@ let $statement= INSERT INTO t0_aux(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,NULL FROM t0_template
WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1;
let $event= BEFORE INSERT;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER INSERT;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $statement= UPDATE t0_aux SET f_int1 = - f_int1, f_int2 = - f_int2
WHERE f_int1 IN (- (@max_row_div2 - 1),- @max_row_div2,- (@max_row_div2 + 1));
let $event= BEFORE UPDATE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER UPDATE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $statement= DELETE FROM t0_aux
WHERE f_int1 IN (- (@max_row_div2 - 1),- @max_row_div2,- (@max_row_div2 + 1));
let $event= BEFORE DELETE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER DELETE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
# Cleanup
......@@ -1045,28 +1045,28 @@ let $statement= INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,NULL FROM t0_template
WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1;
let $event= BEFORE INSERT;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER INSERT;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $statement= UPDATE t1 SET f_int1 = - f_int1, f_int2 = - f_int2
WHERE f_int1 IN (- (@max_row_div2 - 1),- @max_row_div2,- (@max_row_div2 + 1));
let $event= BEFORE UPDATE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER UPDATE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $statement= DELETE FROM t1
WHERE f_int1 IN (- (@max_row_div2 - 1),- @max_row_div2,- (@max_row_div2 + 1));
let $event= BEFORE DELETE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
let $event= AFTER DELETE;
--source suite/partitions/include/partition_trigg1.inc
--source suite/parts/inc/partition_trigg1.inc
# --source include/partition_trigg1.inc
eval DELETE FROM $tab_in_trigg
WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1;
......@@ -1088,7 +1088,7 @@ let $statement= UPDATE t1
SET f_charbig = '####updated per update statement itself####';
let $source= old;
let $event= BEFORE UPDATE;
--source suite/partitions/include/partition_trigg2.inc
--source suite/parts/inc/partition_trigg2.inc
# --source include/partition_trigg2.inc
# FIXME when AFTER TRIGGER can be used
# Currently (2006-02-23) a AFTER TRIGGER is not allowed to modify a row, which
......@@ -1104,7 +1104,7 @@ f_charbig = '####updated per update statement itself####';
# 9.3.2.1 "old" values are used as source within the trigger.
let $source= old;
let $event= BEFORE UPDATE;
--source suite/partitions/include/partition_trigg2.inc
--source suite/parts/inc/partition_trigg2.inc
# --source include/partition_trigg2.inc
# FIXME when AFTER TRIGGER can be used
# Currently (2006-02-23) a AFTER TRIGGER is not allowed to modify a row, which
......@@ -1112,7 +1112,7 @@ let $event= BEFORE UPDATE;
# 9.3.2.2 "new" values are used as source within the trigger.
let $source= new;
let $event= BEFORE UPDATE;
--source suite/partitions/include/partition_trigg2.inc
--source suite/parts/inc/partition_trigg2.inc
# --source include/partition_trigg2.inc
# FIXME when AFTER TRIGGER can be used
......@@ -1131,7 +1131,7 @@ WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1
ORDER BY f_int1;
let $event= BEFORE INSERT;
let $source= new;
--source suite/partitions/include/partition_trigg3.inc
--source suite/parts/inc/partition_trigg3.inc
# --source include/partition_trigg3.inc
# FIXME when AFTER TRIGGER can be used
......@@ -1143,7 +1143,7 @@ WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1
ORDER BY f_int1;
let $event= BEFORE INSERT;
let $source= new;
--source suite/partitions/include/partition_trigg3.inc
--source suite/parts/inc/partition_trigg3.inc
# --source include/partition_trigg3.inc
# FIXME when AFTER TRIGGER can be used
......@@ -1174,11 +1174,11 @@ CHECKSUM TABLE t1 EXTENDED;
# clustered index.
# FIXME What will happen with NDB ?
OPTIMIZE TABLE t1;
--source suite/partitions/include/partition_layout_check2.inc
--source suite/parts/inc/partition_layout_check2.inc
# --source include/partition_layout_check2.inc
# 10.2 REPAIR TABLE
REPAIR TABLE t1 EXTENDED;
--source suite/partitions/include/partition_layout_check2.inc
--source suite/parts/inc/partition_layout_check2.inc
# --source include/partition_layout_check2.inc
#
# 11.3 Truncate
......@@ -1192,7 +1192,7 @@ if ($no_debug)
}
SELECT '# check TRUNCATE success: ' AS "",COUNT(*) = 0 AS "" FROM t1;
--enable_query_log
--source suite/partitions/include/partition_layout_check2.inc
--source suite/parts/inc/partition_layout_check2.inc
# --source include/partition_layout_check2.inc
--echo # End usability test (include/partition_check.inc)
......@@ -48,10 +48,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY KEY
if ($with_partitioning)
......@@ -85,10 +85,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY LIST
if ($with_partitioning)
......@@ -120,10 +120,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE
if ($with_partitioning)
......@@ -151,10 +151,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY HASH
if ($with_partitioning)
......@@ -179,10 +179,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY KEY
if ($with_partitioning)
......@@ -210,10 +210,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY HASH
if ($with_partitioning)
......@@ -254,10 +254,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
let $with_directories= FALSE;
......@@ -44,7 +44,7 @@ $column_list
PARTITION BY HASH(f_int1) PARTITIONS 2;
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
#
......@@ -61,7 +61,7 @@ PARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -78,7 +78,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
#
......@@ -95,7 +95,7 @@ PARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -107,7 +107,7 @@ PARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -124,7 +124,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -141,7 +141,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
#
......@@ -163,7 +163,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -180,7 +180,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
#
......@@ -198,7 +198,7 @@ PARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval CREATE TABLE t1 (
......@@ -215,7 +215,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--echo # 6.2 Storage engine assignment after partition name + after
......@@ -235,7 +235,7 @@ SUBPARTITION BY HASH(f_int1)
);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -251,7 +251,7 @@ $column_list
PARTITION BY HASH(f_int1) ( PARTITION part1 ENGINE = $engine);
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
# Bug#15966 Partitions: crash if session default engine <> engine used in create table
......@@ -265,7 +265,7 @@ SUBPARTITION BY HASH(f_int1)
SUBPARTITION subpart12 STORAGE ENGINE = $engine));
INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig)
SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
eval SET SESSION storage_engine=$engine;
......@@ -65,10 +65,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY KEY
if ($with_partitioning)
......@@ -107,10 +107,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY LIST
if ($with_partitioning)
......@@ -142,10 +142,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE
if ($with_partitioning)
......@@ -179,10 +179,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY HASH
if ($with_partitioning)
......@@ -211,10 +211,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY RANGE -- SUBPARTITION BY KEY
if ($with_partitioning)
......@@ -246,10 +246,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY HASH
if ($with_partitioning)
......@@ -298,10 +298,10 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
#----------- PARTITION BY LIST -- SUBPARTITION BY KEY
if ($with_partitioning)
......@@ -328,8 +328,8 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
--source suite/partitions/include/partition_check_drop.inc
--source suite/parts/inc/partition_check_drop.inc
let $with_directories= FALSE;
......@@ -50,7 +50,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -65,7 +65,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -88,7 +88,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -112,7 +112,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -135,7 +135,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -161,7 +161,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -184,7 +184,7 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -207,6 +207,6 @@ $unique
)
$partitioning;
eval $insert_all;
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
DROP TABLE t1;
......@@ -84,13 +84,13 @@ eval insert into t3 values ($val2);
eval insert into t3 values ($val3);
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
eval load data infile '$MYSQL_TEST_DIR/suite/partitions/include/$infile' into table t4;
eval load data infile '$MYSQL_TEST_DIR/suite/parts/inc/$infile' into table t4;
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
eval load data infile '$MYSQL_TEST_DIR/suite/partitions/include/$infile' into table t5;
eval load data infile '$MYSQL_TEST_DIR/suite/parts/inc/$infile' into table t5;
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
eval load data infile '$MYSQL_TEST_DIR/suite/partitions/include/$infile' into table t6;
eval load data infile '$MYSQL_TEST_DIR/suite/parts/inc/$infile' into table t6;
eval select $sqlfunc from t1 order by col1;
......@@ -238,8 +238,8 @@ subpartition by hash($sqlfunc) subpartitions 5
let $t4=t4;
let $t5=t5;
let $t6=t6;
--source suite/partitions/include/partition_supported_sql_funcs_delete.inc
# --source include/partition_supported_sql_funcs_delete.inc
--source suite/parts/inc/part_supported_sql_funcs_delete.inc
# --source include/part_supported_sql_funcs_delete.inc
let $t1=t11;
let $t2=t22;
......@@ -247,8 +247,8 @@ subpartition by hash($sqlfunc) subpartitions 5
let $t4=t44;
let $t5=t55;
let $t6=t66;
--source suite/partitions/include/partition_supported_sql_funcs_delete.inc
# --source include/partition_supported_sql_funcs_delete.inc
--source suite/parts/inc/part_supported_sql_funcs_delete.inc
# --source include/part_supported_sql_funcs_delete.inc
--echo -------------------------
--echo ---- some alter table end
--echo -------------------------
......
......@@ -47,7 +47,7 @@ if ($unexpected_error)
# If this operation was successfull, print layout + drop this table
if ($run)
{
--source suite/partitions/include/partition_layout_check1.inc
--source suite/parts/inc/partition_layout_check1.inc
# --source include/partition_layout_check1.inc
eval DROP TABLE t1;
}
......@@ -85,7 +85,7 @@ if ($unexpected_error)
# If this operation was successfull, print layout + drop this table
if ($run)
{
--source suite/partitions/include/partition_layout_check1.inc
--source suite/parts/inc/partition_layout_check1.inc
# --source include/partition_layout_check1.inc
eval DROP TABLE t1;
}
......@@ -37,7 +37,7 @@ if (`SELECT @@session.storage_engine IN('ndbcluster')`)
eval $insert_all;
if ($fixed_bug18735)
{
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
}
DROP TABLE t1;
......@@ -49,7 +49,7 @@ if (`SELECT @@session.storage_engine IN('ndbcluster')`)
eval $insert_all;
if ($fixed_bug18735)
{
--source suite/partitions/include/partition_check.inc
--source suite/parts/inc/partition_check.inc
# --source include/partition_check.inc
}
DROP TABLE t1;
......
......@@ -57,6 +57,8 @@ Number of primary keys: 3
Length of frm data: #
Row Checksum: 1
Row GCI: 1
SingleUserMode: 0
ForceVarPart: 1
TableStatus: Retrieved
-- Attributes --
a Int PRIMARY KEY AT=FIXED ST=MEMORY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment