mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
5487d7a8c0
Removed usage of @r/result as this made life hard when testing different table handlers. Allow concurrent inserts if no update/binary log. Don't remove key_cache at flush tables. Fixed bug in SELECT DISTINCT SUM()...
29 lines
747 B
Text
29 lines
747 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);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
select foo.n,bar.m,choo.k from foo,bar,choo;
|
|
connection master;
|
|
drop table if exists foo,bar,choo;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
drop table if exists foo,bar,choo;
|