Server hangs during restore of SP with cross joined SP with joined table and conditions on both tables ------------------------------------------------------------------------------------------------------
Key: CORE-5636 URL: http://tracker.firebirdsql.org/browse/CORE-5636 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 4.0 Alpha 1 Environment: Win7 64, Firebird 4.0.0.760 Snapshot Reporter: Volker Rehn A single stored procedure makes version 4.0.0.760 hang during restore, full CPU, no action forever. The SP contains PSQL like for select a.param from t1 a cross join locate(a.report, a.instance, a.obj, a.param) s join t2 b on b.id = s.id where a.path = 'B2' and a.uid = current_user -- and b.uid = current_user into ... Precondition for the error seems to be cross joining a table with a SP, which in turn is joined to a table again. But that alone is not enough. For the bug to appear there must be conditions in the where part for *both* tables, it comes up if the commented condition (the line 'and b.uid = current_user') is activated. And it doesn't matter if t2 is empty. I have tried to create a generic test case, so far with no luck. Restore always hangs at this spot, and also execution of that code outside of a SP, as select statement. -- 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel