29.05.2015 17:10, Maxim Smyatkin wrote: > 2. Whole TestFBBlobStream family (6 tests) fails. The reason is bug in > Firebird transaction engine. When transaction started in > auto-commit mode actually commits (via commit_retaining) it doesn't free any > resources. E.g., what happens in these tests is: > - we create a procedure P using a table T. > - the P states its interest in the T (while looking for P's dependencies); > - transaction commits the changes with retaining flag and forgets to say that > it isn't interested in the T anymore; > - we try to drop the T, but we can't because it is marked as "in use"! > I attached a patch (for 2.5 branch) to release resources on commit_retaining. > But I believe the problem is rather in > modify_procedure()'s code, because it should release rel_use_counts on its > own.
Open cursors are left open after commit_retaining. Therefore i think it is not correct to release existence locks as part of commit_retaining. Regards, Vlad ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel