Unexpected "object TABLE is in use" error on DDL command
--------------------------------------------------------
Key: CORE-6382
URL: http://tracker.firebirdsql.org/browse/CORE-6382
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 4.0 Beta 2, 2.5.9, 4.0 RC 1
Reporter: prenosil
In Firebird 2.5 SuperClassic I sometimes get "object TABLE ... is in use" error
when modifying database structure,
even if I am sure the table was not used. The same DDL command execute ok on
FB2.5 Superserver.
Unfortunately the situation is worse in Firebird 4 because I get that error
even on Superserver.
This is how the test scripts look like (two instances of isql are required):
(I will send full version of scripts and database privately)
----------
CONNECT ...;
UPDATE OR INSERT INTO Table01 ...;
COMMIT;
----------
CONNECT ...;
SET AUTODDL OFF;
SET TRANSACTION NO WAIT;
DROP TABLE Table02;
COMMIT;
->
Statement failed, SQLSTATE = 40001
lock conflict on no wait transaction
-unsuccessful metadata update
-object TABLE "TABLE02" is in use
Note - without "SET AUTODDL OFF;SET TRANSACTION NO WAIT;" the second script
freezes until the first one is closed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel