diff options
author | unknown <sergefp@mysql.com> | 2004-05-24 21:12:05 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-05-24 21:12:05 +0400 |
commit | fbfdcf22f49eacc4a90fb6169dbbecb36d8e8b68 (patch) | |
tree | 891fee1763264ca89e99af95b9bb938d14b8b6ec /mysql-test/r/rpl_ps.result | |
parent | c0729cbbca7632177a341cdd40e7e062af1a57a7 (diff) | |
download | mariadb-git-fbfdcf22f49eacc4a90fb6169dbbecb36d8e8b68.tar.gz |
Added replication tests
Diffstat (limited to 'mysql-test/r/rpl_ps.result')
-rw-r--r-- | mysql-test/r/rpl_ps.result | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_ps.result b/mysql-test/r/rpl_ps.result new file mode 100644 index 00000000000..c969575de76 --- /dev/null +++ b/mysql-test/r/rpl_ps.result @@ -0,0 +1,28 @@ +stop slave; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +reset master; +reset slave; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +start slave; +drop table if exists t1; +create table t1(n char(30)); +prepare stmt1 from 'insert into t1 values (?)'; +set @var1= "from-master-1"; +execute stmt1 using @var1; +set @var1= "from-master-2-'',"; +execute stmt1 using @var1; +select * from t1; +n +from-master-1 +from-master-2-'', +set @var2= 'insert into t1 values (concat("from-var-", ?))'; +prepare stmt2 from @var2; +set @var1='from-master-3'; +execute stmt2 using @var1; +select * from t1; +n +from-master-1 +from-master-2-'', +from-var-from-master-3 +drop table t1; +stop slave; |