mirror of
https://github.com/MariaDB/server.git
synced 2025-11-16 20:23:18 +03:00
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
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 PROCEDURE IF EXISTS test.p1;
|
||||
DROP TABLE IF EXISTS test.t1;
|
||||
CREATE PROCEDURE test.p1(IN i INT)
|
||||
BEGIN
|
||||
DECLARE CONTINUE HANDLER FOR sqlexception BEGIN END;
|
||||
DROP TABLE IF EXISTS test.t1;
|
||||
CREATE TABLE test.t1 (num INT,PRIMARY KEY(num))ENGINE=NDBCLUSTER;
|
||||
START TRANSACTION;
|
||||
INSERT INTO test.t1 VALUES(i);
|
||||
savepoint t1_save;
|
||||
INSERT INTO test.t1 VALUES (14);
|
||||
ROLLBACK to savepoint t1_save;
|
||||
COMMIT;
|
||||
END|
|
||||
|
||||
< ---- Master selects-- >
|
||||
-------------------------
|
||||
CALL test.p1(12);
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
SELECT * FROM test.t1;
|
||||
num
|
||||
12
|
||||
|
||||
< ---- Slave selects-- >
|
||||
------------------------
|
||||
SELECT * FROM test.t1;
|
||||
num
|
||||
12
|
||||
|
||||
< ---- Master selects-- >
|
||||
-------------------------
|
||||
CALL test.p1(13);
|
||||
SELECT * FROM test.t1;
|
||||
num
|
||||
13
|
||||
|
||||
< ---- Slave selects-- >
|
||||
------------------------
|
||||
SELECT * FROM test.t1;
|
||||
num
|
||||
13
|
||||
DROP PROCEDURE IF EXISTS test.p1;
|
||||
DROP TABLE IF EXISTS test.t1;
|
||||
@@ -38,7 +38,6 @@ rpl_ndb_myisam2ndb : Bug#18261: Cluster Replication: tests rpl_ndb_xxx2ndb
|
||||
rpl_ndb_log : result not deterministic, TBD if should remove
|
||||
rpl_ndb_relay_space : Bug#16993
|
||||
#rpl_ndb_multi_update3 : Bug#17400: delete & update of rows in table without pk fails
|
||||
rpl_ndb_sp007 : Bug #18565
|
||||
rpl_row_inexist_tbl : Disabled since patch makes this test wait forever
|
||||
rpl_sp : Bug#16456
|
||||
rpl_until : Unstable test case, bug#15886
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#################################
|
||||
# Wrapper for rpl_row_sp007.test#
|
||||
# These tests have been wrapped #
|
||||
# so the same code can be used #
|
||||
# For different engines #
|
||||
#################################
|
||||
-- source include/have_ndb.inc
|
||||
let $engine_type=NDBCLUSTER;
|
||||
-- source extra/rpl_tests/rpl_row_sp007.test
|
||||
Reference in New Issue
Block a user