summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_rotate_logs.test
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot2>2003-07-12 23:31:21 +0200
committerunknown <guilhem@gbichot2>2003-07-12 23:31:21 +0200
commit19a4a84dbc5b6589cdfe9dd90f2d92daef89b549 (patch)
tree43d6e44dc77ea94edd9a4eb8b30dd336f082113e /mysql-test/t/rpl_rotate_logs.test
parentd1d636de8fa3438b1bff24a13bd74c6e8ca399f2 (diff)
downloadmariadb-git-19a4a84dbc5b6589cdfe9dd90f2d92daef89b549.tar.gz
Added SHOW MASTER LOGS as synonym for SHOW BINARY LOGS.
Added PURGE BINARY LOGS as synonym for PURGE MASTER LOGS. Removed PURGE LOGS (now PURGE MASTER LOGS). Added SHOW BDB LOGS as synonym for SHOW LOGS. Note: tests key_cache.test hanged, rpl_log_pos.test, rpl_rotate_logs.test failed for me. For the second and third one I guess this will disappear after merging 4.0. mysql-test/r/rpl_rotate_logs.result: result update mysql-test/t/rpl_rotate_logs.test: added test for synonym PURGE BINARY LOGS, changed PURGE LOGS to PURGE MASTER LOGS. sql/sql_yacc.yy: Added SHOW MASTER LOGS as synonym for SHOW BINARY LOGS. Added PURGE BINARY LOGS as synonym for PURGE MASTER LOGS. Removed PURGE LOGS (now PURGE MASTER LOGS). Added SHOW BDB LOGS as synonym for SHOW LOGS.
Diffstat (limited to 'mysql-test/t/rpl_rotate_logs.test')
-rw-r--r--mysql-test/t/rpl_rotate_logs.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/rpl_rotate_logs.test b/mysql-test/t/rpl_rotate_logs.test
index 8ad5109d2c6..df506c08e71 100644
--- a/mysql-test/t/rpl_rotate_logs.test
+++ b/mysql-test/t/rpl_rotate_logs.test
@@ -90,9 +90,12 @@ connection master;
sync_slave_with_master;
connection master;
purge master logs to 'master-bin.000002';
+show master logs;
+# we just tests if synonyms are accepted
+purge binary logs to 'master-bin.000002';
show binary logs;
--sleep 1;
-purge logs before now();
+purge master logs before now();
show binary logs;
insert into t2 values (65);
sync_slave_with_master;