2006-12-19 13:37:50 +01:00
|
|
|
#
|
|
|
|
# Tests for partitioned FEDERATED
|
|
|
|
#
|
|
|
|
-- source include/have_partition.inc
|
|
|
|
-- source include/not_embedded.inc
|
2007-12-12 18:19:24 +01:00
|
|
|
-- source suite/federated/have_federated_db.inc
|
2006-12-19 13:37:50 +01:00
|
|
|
|
|
|
|
--disable_warnings
|
|
|
|
drop table if exists t1;
|
|
|
|
--enable_warnings
|
|
|
|
|
|
|
|
#
|
|
|
|
# Bug #22451 Partitions: duplicate results with engine=federated
|
|
|
|
#
|
|
|
|
|
|
|
|
--error ER_PARTITION_MERGE_ERROR
|
|
|
|
create table t1 (s1 int) engine=federated
|
|
|
|
connection='mysql://root@localhost/federated/t1' partition by list (s1)
|
|
|
|
(partition p1 values in (1), partition p2 values in (2));
|
|
|
|
|
|
|
|
--echo End of 5.1 tests
|