|
46 | 46 | ** Not so if innodb_locks_unsafe_for_binlog is set. The locks that
|
47 | 47 | ** do not match the WHERE condition are released.
|
48 | 48 | update t1 set eta=2 where tipo=22;
|
49 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 49 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
50 | 50 | ** Release user level name lock from thread 1. This will cause the ULL
|
51 | 51 | ** on thread 2 to end its wait.
|
52 | 52 | DO release_lock("hello");
|
@@ -186,7 +186,7 @@ begin;
|
186 | 186 | ** Not so if innodb_locks_unsafe_for_binlog is set. The locks that
|
187 | 187 | ** do not match the WHERE condition are released.
|
188 | 188 | update t1 set tipo=1 where tipo=2;
|
189 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 189 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
190 | 190 | ** Release ULL. This will release the next waiting ULL on thread 2.
|
191 | 191 | DO release_lock("hello");
|
192 | 192 | ** The table should still be updated with updates for thread 1 only:
|
@@ -368,7 +368,7 @@ begin;
|
368 | 368 | ** Update the same range which is marked for update on thread 2; this
|
369 | 369 | ** will hang because of row locks.
|
370 | 370 | update t1 set tipo=1 where tipo=2;
|
371 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 371 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
372 | 372 | ** After the update the table will be unmodified because the previous
|
373 | 373 | ** transaction failed and was rolled back.
|
374 | 374 | select * from t1;
|
@@ -475,7 +475,7 @@ begin;
|
475 | 475 | ** Not so if innodb_locks_unsafe_for_binlog is set. The locks that
|
476 | 476 | ** do not match the WHERE condition are released.
|
477 | 477 | update t1 set tipo=11 where tipo=22;
|
478 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 478 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
479 | 479 | ** After the time out the transaction is aborted; no rows should
|
480 | 480 | ** have changed.
|
481 | 481 | select * from t1;
|
@@ -574,7 +574,7 @@ begin;
|
574 | 574 | ** Selecting a range for update by table scan will be blocked
|
575 | 575 | ** because of on-going transaction on thread 2.
|
576 | 576 | select * from t1 where tipo=1 FOR UPDATE;
|
577 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 577 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
578 | 578 | ** connection thread2
|
579 | 579 | ** Table will be unchanged and the select command will not be
|
580 | 580 | ** blocked:
|
@@ -653,7 +653,7 @@ delete from t1 where tipo=2;
|
653 | 653 | ** connection thread1
|
654 | 654 | begin;
|
655 | 655 | update t1 set tipo=1 where tipo=2;
|
656 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 656 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
657 | 657 | select * from t1;
|
658 | 658 | eta tipo c
|
659 | 659 | 7 7 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
@@ -735,7 +735,7 @@ begin;
|
735 | 735 | ** Not so if innodb_locks_unsafe_for_binlog is set. The locks that
|
736 | 736 | ** do not match the WHERE condition are released.
|
737 | 737 | update t1 set tipo=1 where tipo=22;
|
738 |
| -ERROR HY000: Lock wait timeout exceeded; try restarting transaction |
| 738 | +ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: test/t1.GEN_CLUST_INDEX |
739 | 739 | select * from t1;
|
740 | 740 | eta tipo c
|
741 | 741 | 7 7 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
0 commit comments