Bug #28049 Falcon Hang after fifteen exceptions

Submitted: 23 Apr 2007 21:38
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version:6.0.0-alpha OS:Any
Assigned to: CPU Architecture:Any

[23 Apr 2007 21:38] Hakan Küçükyılmaz
Description:
I create a table with a unique column.
I create a procedure which will cause a 'duplicate key' error
when updating the table, catch the exception, and proceed.
The procedure catches the exception and proceeds about 15 times.
Then it hangs.

How to repeat:
delimiter //
set @@autocommit=0//
create procedure p ()
begin
  declare v int default 0;
  declare continue handler for sqlexception begin end;
  create table t1 (s1 int unique) engine=falcon;
  while v < 1000 do
    insert into t1 values (v);
    update t1 set s1 = s1 * 2;
    select distinct v from t1;
    set v = v + 1;
    end while;
  end;
//
call p()//
[23 Apr 2007 21:38] Hakan Küçükyılmaz
Test case is falcon_bug_28049.test.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.