File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ SET debug_sync='alter_table_intermediate_table_created SIGNAL ready WAIT_FOR go'
110
110
ALTER TABLE t1 ADD FOREIGN KEY(pk) REFERENCES t2(pk) ON UPDATE CASCADE;
111
111
connect con1, localhost, root;
112
112
SET debug_sync='now WAIT_FOR ready';
113
- SET lock_wait_timeout=1 ;
113
+ SET lock_wait_timeout=0 ;
114
114
UPDATE t2 SET pk=10 WHERE pk=1;
115
115
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
116
116
PREPARE stmt FROM 'UPDATE t2 SET pk=10 WHERE pk=1';
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ send ALTER TABLE t1 ADD FOREIGN KEY(pk) REFERENCES t2(pk) ON UPDATE CASCADE;
140
140
141
141
connect con1, localhost, root;
142
142
SET debug_sync='now WAIT_FOR ready';
143
- SET lock_wait_timeout=1; # change to 0 in 10.3
143
+ SET lock_wait_timeout=0;
144
144
--error ER_LOCK_WAIT_TIMEOUT
145
145
UPDATE t2 SET pk=10 WHERE pk=1;
146
146
PREPARE stmt FROM 'UPDATE t2 SET pk=10 WHERE pk=1';
You can’t perform that action at this time.
0 commit comments