mirror of
https://github.com/MariaDB/server.git
synced 2025-11-03 14:33:32 +03:00
BitKeeper/etc/ignore: Added mysql-test/suite/funcs_1/r/innodb_views.warnings mysql-test/suite/funcs_1/r/memory_trig_03e.warnings mysql-test/suite/funcs_1/r/memory_views.warnings mysql-test/suite/funcs_1/r/myisam_trig_03e.warnings mysql-test/suite/funcs_1/r/myisam_views.warnings mysql-test/suite/funcs_1/r/ndb_trig_03e.warnings mysql-test/suite/funcs_1/r/ndb_views.warnings mysql-test/suite/partitions/r/diff mysql-test/suite/partitions/r/partition_bit_ndb.warnings mysql-test/suite/partitions/r/partition_special_innodb.warnings mysql-test/suite/partitions/r/partition_special_myisam.warnings storage/archive/archive_reader mysql-test/suite/funcs_1/r/innodb_trig_03e.warnings to the ignore list mysql-test/suite/funcs_2/include/check_charset.inc: inserted newline at the end of file. mysql-test/suite/objects/include/drop_all.inc: inserted newline at the end of file. mysql-test/suite/partitions/include/partition_key_32col.inc: inserted newline at the end of file. mysql-test/suite/rpl/data/rpl_mixed.dat: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_event.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_select.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_user.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_view.inc: inserted newline at the end of file.
57 lines
2.0 KiB
PHP
57 lines
2.0 KiB
PHP
################################################################################
|
|
# include/partition_syntax_2.inc #
|
|
# #
|
|
# Purpose: #
|
|
# Auxiliary script, only useful when sourced by include/partition_syntax.inc.#
|
|
# #
|
|
#------------------------------------------------------------------------------#
|
|
# Original Author: ML #
|
|
# Original Date: 2006-05-11 #
|
|
# Change Author: #
|
|
# Change Date: #
|
|
# Change: #
|
|
################################################################################
|
|
|
|
if (`SELECT @@session.storage_engine NOT IN('ndbcluster')`)
|
|
{
|
|
--error ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF
|
|
eval CREATE TABLE t1 (
|
|
$column_list,
|
|
$unique_index
|
|
)
|
|
$partition_scheme;
|
|
--error ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF
|
|
eval CREATE TABLE t1 (
|
|
$column_list,
|
|
PRIMARY KEY(f_int1,f_int2), $unique_index
|
|
)
|
|
$partition_scheme;
|
|
}
|
|
if (`SELECT @@session.storage_engine IN('ndbcluster')`)
|
|
{
|
|
eval CREATE TABLE t1 (
|
|
$column_list,
|
|
$unique_index
|
|
)
|
|
$partition_scheme;
|
|
eval $insert_all;
|
|
if ($fixed_bug18735)
|
|
{
|
|
--source suite/partitions/include/partition_check.inc
|
|
# --source include/partition_check.inc
|
|
}
|
|
DROP TABLE t1;
|
|
eval CREATE TABLE t1 (
|
|
$column_list,
|
|
PRIMARY KEY(f_int1,f_int2), $unique_index
|
|
)
|
|
$partition_scheme;
|
|
eval $insert_all;
|
|
if ($fixed_bug18735)
|
|
{
|
|
--source suite/partitions/include/partition_check.inc
|
|
# --source include/partition_check.inc
|
|
}
|
|
DROP TABLE t1;
|
|
}
|