diff options
author | unknown <anozdrin/alik@quad.> | 2008-02-28 17:28:33 +0300 |
---|---|---|
committer | unknown <anozdrin/alik@quad.> | 2008-02-28 17:28:33 +0300 |
commit | 944f2599fedfaa7c9a4348a2fd505419eb59a5b6 (patch) | |
tree | bdbab37e05df5ba37664052ca93a0d18c040b00f /mysql-test/t/sp_notembedded.test | |
parent | ce7b8e1248d7fe32824ebdc1fa0146c376e743dd (diff) | |
download | mariadb-git-944f2599fedfaa7c9a4348a2fd505419eb59a5b6.tar.gz |
Disable test case due to Bug#34891: sp_notembedded.test fails
sporadically.
mysql-test/r/sp_notembedded.result:
Disable test case.
mysql-test/t/sp_notembedded.test:
Disable test case.
Diffstat (limited to 'mysql-test/t/sp_notembedded.test')
-rw-r--r-- | mysql-test/t/sp_notembedded.test | 127 |
1 files changed, 65 insertions, 62 deletions
diff --git a/mysql-test/t/sp_notembedded.test b/mysql-test/t/sp_notembedded.test index 4a747b9c614..4e298b2076a 100644 --- a/mysql-test/t/sp_notembedded.test +++ b/mysql-test/t/sp_notembedded.test @@ -268,66 +268,69 @@ drop procedure 15298_1; drop procedure 15298_2; # -# Bug#29936 Stored Procedure DML ignores low_priority_updates setting +# Test case disabled due to Bug#34891: sp_notembedded.test fails sporadically. # - ---disable_warnings -drop table if exists t1; -drop procedure if exists p1; ---enable_warnings - -create table t1 (value varchar(15)); -create procedure p1() update t1 set value='updated' where value='old'; - -# load the procedure into sp cache and execute once -call p1(); - -insert into t1 (value) values ("old"); - -connect (rl_holder, localhost, root,,); -connect (rl_acquirer, localhost, root,,); -connect (rl_contender, localhost, root,,); -connect (rl_wait, localhost, root,,); - -connection rl_holder; -select get_lock('b26162',120); - -connection rl_acquirer; ---send select 'rl_acquirer', value from t1 where get_lock('b26162',120); - -# we must wait till this select opens and locks the tables -connection rl_wait; -let $wait_condition= - select count(*) = 1 from information_schema.processlist - where state = "User lock" and - info = "select 'rl_acquirer', value from t1 where get_lock('b26162',120)"; ---source include/wait_condition.inc - -connection default; -set session low_priority_updates=on; ---send call p1(); - -connection rl_wait; -let $wait_condition= - select count(*) = 1 from information_schema.processlist - where state = "Locked" and - info = "update t1 set value='updated' where value='old'"; ---source include/wait_condition.inc - -connection rl_contender; -select 'rl_contender', value from t1; - -connection rl_holder; -select release_lock('b26162'); - -connection rl_acquirer; ---reap -connection default; ---reap - -disconnect rl_holder; -disconnect rl_acquirer; -disconnect rl_wait; -drop procedure p1; -drop table t1; -set session low_priority_updates=default; +# # +# # Bug#29936 Stored Procedure DML ignores low_priority_updates setting +# # +# +# --disable_warnings +# drop table if exists t1; +# drop procedure if exists p1; +# --enable_warnings +# +# create table t1 (value varchar(15)); +# create procedure p1() update t1 set value='updated' where value='old'; +# +# # load the procedure into sp cache and execute once +# call p1(); +# +# insert into t1 (value) values ("old"); +# +# connect (rl_holder, localhost, root,,); +# connect (rl_acquirer, localhost, root,,); +# connect (rl_contender, localhost, root,,); +# connect (rl_wait, localhost, root,,); +# +# connection rl_holder; +# select get_lock('b26162',120); +# +# connection rl_acquirer; +# --send select 'rl_acquirer', value from t1 where get_lock('b26162',120); +# +# # we must wait till this select opens and locks the tables +# connection rl_wait; +# let $wait_condition= +# select count(*) = 1 from information_schema.processlist +# where state = "User lock" and +# info = "select 'rl_acquirer', value from t1 where get_lock('b26162',120)"; +# --source include/wait_condition.inc +# +# connection default; +# set session low_priority_updates=on; +# --send call p1(); +# +# connection rl_wait; +# let $wait_condition= +# select count(*) = 1 from information_schema.processlist +# where state = "Locked" and +# info = "update t1 set value='updated' where value='old'"; +# --source include/wait_condition.inc +# +# connection rl_contender; +# select 'rl_contender', value from t1; +# +# connection rl_holder; +# select release_lock('b26162'); +# +# connection rl_acquirer; +# --reap +# connection default; +# --reap +# +# disconnect rl_holder; +# disconnect rl_acquirer; +# disconnect rl_wait; +# drop procedure p1; +# drop table t1; +# set session low_priority_updates=default; |