mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
92a3aedc05
Docs/manual.texi: More examples based on user comments client/mysqltest.c: Added --sleep and --tmpdir mysql-test/README: Update mysql-test/include/master-slave.inc: Fixed to not be dependent on path to sockets mysql-test/install_test_db.sh: Added privilege for hostname% mysql-test/mysql-test-run.sh: Portability fixes + a lot of new options mysql-test/r/bigint.result: Made test portable mysql-test/t/bigint.test: Made test portable mysql-test/t/rpl000008.test: Changed sleeptime mysql-test/t/rpl000012.test: Fixed to not be dependent on path to sockets mysql-test/t/rpl000013.test: Fixed to not be dependent on path to sockets mysql-test/t/rpl000014.test: Fixed to not be dependent on path to sockets mysql-test/t/rpl000015.test: Fixed to not be dependent on path to sockets mysql-test/t/rpl000016.test: Fixed to not be dependent on path to sockets
24 lines
653 B
Text
24 lines
653 B
Text
#this one assumes we are ignoring updates on table foo, but doing
|
|
#the ones on all other tables
|
|
source include/master-slave.inc;
|
|
connection slave;
|
|
use test;
|
|
drop table if exists foo;
|
|
create table foo (n int);
|
|
insert into foo values(4);
|
|
connection master;
|
|
use test;
|
|
drop table if exists foo;
|
|
create table foo (n int);
|
|
insert into foo values(5);
|
|
drop table if exists bar;
|
|
create table bar (m int);
|
|
insert into bar values(15);
|
|
drop table if exists choo;
|
|
create table choo (k int);
|
|
insert into choo values(55);
|
|
connection slave;
|
|
sleep 3;
|
|
@r/rpl000008.result select foo.n,bar.m,choo.k from foo,bar,choo;
|
|
connection master;
|
|
drop table if exists foo,bar,choo;
|