mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
84d05b9e7d
run-all-tests mysql-test -> mysqltest README mysql-test -> mysqltest Makefile.am Retargetted mysql-test to mysqltest. .del-mysql-test.c Delete: client/mysql-test.c mysql-test-run Added program definitions. mysqltest.c BitKeeper file /home/mwagner/work/bk/mysql/client/mysqltest.c mysql-test/mysql-test-run: Added program definitions. BitKeeper/deleted/.del-mysql-test.c: ***MISSING WEAVE*** client/Makefile.am: Retargetted mysql-test to mysqltest. repl-tests/README: mysql-test -> mysqltest repl-tests/run-all-tests: mysql-test -> mysqltest repl-tests/test-repl-ts/run.test: mysql-test -> mysqltest
17 lines
466 B
Text
17 lines
466 B
Text
#! ../client/mysqltest
|
|
# tests if the replicaion preserves timestamp properly
|
|
|
|
source ../include/master-slave.inc;
|
|
connection master;
|
|
set timestamp=200006;
|
|
drop table if exists foo;
|
|
create table foo(t timestamp not null,a char(1));
|
|
insert into foo ( a) values ('F');
|
|
@repl-timestamp.master select unix_timestamp(t) from foo;
|
|
sleep 3;
|
|
connection slave;
|
|
drop table if exists foo;
|
|
load table foo from master;
|
|
@repl-timestamp.master select unix_timestamp(t) from foo;
|
|
|
|
|