Transaction can`t change metadata if it is run in RC + no_wait and there is another connect that once had queried these metadata ---------------------------------------------------------------------------------------------------------------------------------
Key: CORE-3766 URL: http://tracker.firebirdsql.org/browse/CORE-3766 Project: Firebird Core Issue Type: Bug Affects Versions: 2.5.1 Reporter: Pavel Zotov WI-V2.5.2.26390 Firebird 2.5 DDL: C:\1INSTALL\FIREBIRD\Data>isql Use CONNECT or CREATE DATABASE to specify a database SQL> create database 't2.fdb'; commit; SQL> create table tx(id int); commit; SQL> insert into tx values(123); commit; SQL> quit; --------------------------------------------------------- session #1 C:\1INSTALL\FIREBIRD\Data>isql -n localhost/3050:C:\1INSTALL\FIREBIRD\Data\T2.FDB Database: localhost/3050:C:\1INSTALL\FIREBIRD\Data\T2.FDB session #2 C:\1INSTALL\FIREBIRD\Data>isql -n localhost/3050:C:\1INSTALL\FIREBIRD\Data\T2.FDB Database: localhost/3050:C:\1INSTALL\FIREBIRD\Data\T2.FDB session #1 SQL> set list on; SQL> select * from tx; ID 123 SQL> commit; SQL> select * from rdb$database; RDB$DESCRIPTION <null> RDB$RELATION_ID 129 RDB$SECURITY_CLASS <null> RDB$CHARACTER_SET_NAME NONE SQL> commit; session #2 SQL> commit; SQL> SET TRANSACTION READ COMMITTED RECORD_VERSION NO WAIT; -- note: only when *read commited* and *NO wait* SQL> drop table tx; SQL> commit; Statement failed, SQLSTATE = 40001 lock conflict on no wait transaction -unsuccessful metadata update -object TX is in use -- 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel