Closed
Description
Submitted by: @dyemanov
Votes: 1
Test case:
create table A (ID int);
create table B (ID int);
create index IDX on A computed by (ID);
select min( (select 1 from A where cast(ID as int) = http://B.ID) ) from B
-- ERROR: bad BLR -- invalid stream.
This error is not present if computed index is not created or if CAST is omitted inside the query.
Commits: 123415b FirebirdSQL/fbt-repository@06db666 FirebirdSQL/fbt-repository@dd21f7d
====== Test Details ======
Confirmed fail on WI-V2.5.2.26540:
Statement failed, SQLSTATE = HY000
bad BLR -- invalid stream