mariadb/mysql-test/suite/parts/inc/partition_syntax_2.inc
Sergei Golubchik 7f5e51b940 MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes)
remove:
* NDB from everywhere
* IM from mtr-v1
* packaging/rpm-oel and packaging/rpm-uln
* few unused spec files
* plug.in file
* .bzrignore
2014-10-11 18:53:06 +02:00

26 lines
1.3 KiB
PHP

################################################################################
# inc/partition_syntax_2.inc #
# #
# Purpose: #
# Auxiliary script, only useful when sourced by inc/partition_syntax.inc. #
# #
#------------------------------------------------------------------------------#
# Original Author: mleich #
# Original Date: 2006-05-11 #
# Change Author: #
# Change Date: #
# Change: #
################################################################################
--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;