summaryrefslogtreecommitdiff
path: root/mysql-test/r/rpl_rotate_logs.result
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-05-24 12:03:55 +0200
committerunknown <msvensson@pilot.blaudden>2007-05-24 12:03:55 +0200
commit8c7956be3b87f915f1819e24b42711eb24041bec (patch)
treef44511d652e89e4a12f319cf5b1d531a1d0e6bc8 /mysql-test/r/rpl_rotate_logs.result
parent3043367e730aecd311813ab70ef58ebacf23dfe2 (diff)
parentf0f783786df532ba900aab6dda5eaf28dbc2f23a (diff)
downloadmariadb-git-8c7956be3b87f915f1819e24b42711eb24041bec.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/bug27438/my50-bug27438
into pilot.blaudden:/home/msvensson/mysql/bug27438/my51-bug27438 mysql-test/r/rpl_rotate_logs.result: Auto merged mysql-test/t/rpl_rotate_logs.test: Auto merged
Diffstat (limited to 'mysql-test/r/rpl_rotate_logs.result')
-rw-r--r--mysql-test/r/rpl_rotate_logs.result5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/r/rpl_rotate_logs.result b/mysql-test/r/rpl_rotate_logs.result
index 9adde45f87a..f82a1a69060 100644
--- a/mysql-test/r/rpl_rotate_logs.result
+++ b/mysql-test/r/rpl_rotate_logs.result
@@ -50,7 +50,10 @@ show binary logs;
Log_name File_size
master-bin.000002 371
master-bin.000003 415
-purge master logs before now();
+select @time_for_purge:=DATE_ADD(UPDATE_TIME, INTERVAL 1 SECOND)
+from information_schema.tables
+where TABLE_SCHEMA="test" and TABLE_NAME="t2";
+purge master logs before (@time_for_purge);
show binary logs;
Log_name File_size
master-bin.000003 415