~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-proposed

« back to all changes in this revision

Viewing changes to mysql-test/include/handler.inc

  • Committer: Package Import Robot
  • Author(s): Dave Chiluk, Eduardo Damato
  • Date: 2014-01-09 09:44:14 UTC
  • mfrom: (18.1.5 precise-security)
  • Revision ID: package-import@ubuntu.com-20140109094414-ght3gi7yvzsyvhm5
Tags: 5.5.34-0ubuntu0.12.04.2
[ Eduardo Damato ]
Fix upstart script to account for datadir disk shortage (LP: #1121874) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1087
1087
connection default;
1088
1088
--echo #
1089
1089
--echo # Demonstrate that HANDLER locks and transaction locks
1090
 
--echo # reside in the same context, and we don't back-off
1091
 
--echo # when have transaction or handler locks.
 
1090
--echo # reside in the same context.
1092
1091
--echo #
1093
1092
create table t1 (a int, key a (a));
1094
1093
insert into t1 (a) values (1), (2), (3), (4), (5);
1109
1108
--source include/wait_condition.inc
1110
1109
--echo # --> connection default
1111
1110
connection default;
 
1111
--echo # We back-off on hitting deadlock condition.
1112
1112
--error ER_LOCK_DEADLOCK
1113
1113
handler t0 open;
1114
 
--error ER_LOCK_DEADLOCK
1115
1114
select * from t0;
1116
1115
handler t1 open;
1117
1116
commit;