summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_binlog.test
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-09 14:05:35 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:44 +0300
commita7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch)
tree70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/t/partition_binlog.test
parentab1941266c59a19703a74b5593cf3f508a5752d7 (diff)
downloadmariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/t/partition_binlog.test')
-rw-r--r--mysql-test/t/partition_binlog.test43
1 files changed, 0 insertions, 43 deletions
diff --git a/mysql-test/t/partition_binlog.test b/mysql-test/t/partition_binlog.test
deleted file mode 100644
index d6986c86ebe..00000000000
--- a/mysql-test/t/partition_binlog.test
+++ /dev/null
@@ -1,43 +0,0 @@
---source include/have_log_bin.inc
---source include/have_partition.inc
-
---disable_warnings
-DROP TABLE IF EXISTS t1;
---enable_warnings
-
---echo #
---echo # Bug#58147: ALTER TABLE w/ TRUNCATE PARTITION fails
---echo # but the statement is written to binlog
---echo #
-
-CREATE TABLE t1(id INT)
-PARTITION BY RANGE (id)
-(PARTITION p0 VALUES LESS THAN (100),
- PARTITION pmax VALUES LESS THAN (MAXVALUE));
-
-INSERT INTO t1 VALUES (1), (10), (100), (1000);
-
---let $binlog_file=query_get_value(SHOW MASTER STATUS, File, 1)
---let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1)
-
---error ER_UNKNOWN_PARTITION
-ALTER TABLE t1 TRUNCATE PARTITION p1;
---error ER_DROP_PARTITION_NON_EXISTENT
-ALTER TABLE t1 DROP PARTITION p1;
-
---echo # No error returned, output in table format instead:
-ALTER TABLE t1 ANALYZE PARTITION p1;
-ALTER TABLE t1 CHECK PARTITION p1;
-ALTER TABLE t1 OPTIMIZE PARTITION p1;
-ALTER TABLE t1 REPAIR PARTITION p1;
-
-ALTER TABLE t1 ANALYZE PARTITION p0;
-ALTER TABLE t1 CHECK PARTITION p0;
-ALTER TABLE t1 OPTIMIZE PARTITION p0;
-ALTER TABLE t1 REPAIR PARTITION p0;
-ALTER TABLE t1 TRUNCATE PARTITION p0;
-ALTER TABLE t1 DROP PARTITION p0;
-
---source include/show_binlog_events.inc
-
-DROP TABLE t1;