diff options
| author | unknown <sasha@mysql.sashanet.com> | 2000-12-12 15:01:35 -0700 |
|---|---|---|
| committer | unknown <sasha@mysql.sashanet.com> | 2000-12-12 15:01:35 -0700 |
| commit | 7d3130fc0ca9c3656fddf4d29c997d7e886cb677 (patch) | |
| tree | 9e967c9b5aa98ff207e4cd774b59b1e4d3681642 /mysql-test/t/rpl000014.test | |
| parent | fb0a1b33cbc1fd59718344b5610aab6a21399036 (diff) | |
| download | mariadb-git-7d3130fc0ca9c3656fddf4d29c997d7e886cb677.tar.gz | |
--result-file in mysqltest works nicely now
added a new test case that relies on --result-file
client/mysqltest.c:
allow a mix of --result-file and @ result file specifications
mysql-test/mysql-test-run:
-record option
-R options to mysql-test so taht result files will be compared
Diffstat (limited to 'mysql-test/t/rpl000014.test')
| -rw-r--r-- | mysql-test/t/rpl000014.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000014.test b/mysql-test/t/rpl000014.test new file mode 100644 index 00000000000..e47933b140a --- /dev/null +++ b/mysql-test/t/rpl000014.test @@ -0,0 +1,23 @@ +source include/master-slave.inc; +connection master; +show master status; +connection slave; +show slave status; +change master to master_log_pos=73; +sleep 1; +slave stop; +change master to master_log_pos=73; +show slave status; +slave start; +show slave status; +change master to master_log_pos=173; +show slave status; +connection master; +show master status; +drop table if exists foo; +create table foo (n int); +insert into foo values (1),(2),(3); +connection slave; +change master to master_log_pos=73; +sleep 0.3; +select * from foo; |
