set autoddl off and sequence of: ( create view V as select * from T; alter view V as select 1 x from rdb$database; drop view V; ) leads to server crash -------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CORE-5107 URL: http://tracker.firebirdsql.org/browse/CORE-5107 Project: Firebird Core Issue Type: Bug Reporter: Pavel Zotov Attachments: gdb-crash-when-create_alter_drop_view-within-single-tx.zip Create file with following statements: === $ /opt/fb30ss/bin/isql -q -i ./create-alter-drop-view-when-autoddl-off.sql set autoddl off; commit; recreate table test(id int, x int); create view v_test as select * from test; alter view v_test as select 1 id from rdb$database; drop view v_test; commit; === Run it: $ /opt/fb30ss/bin/isql -q -i ./create-alter-drop-view-when-autoddl-off.sql Output: Statement failed, SQLSTATE = 08006 Error reading data from the connection. After line 9 in file ./create-alter-drop-view-when-autoddl-off.sql Statement failed, SQLSTATE = 08006 Error writing data to the connection. After line 10 in file ./create-alter-drop-view-when-autoddl-off.sql PS. LI-V3.0.0.32328, SuperServer; no such crash on FB 2.5; stacktrace see in attached zip. -- 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 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel