You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set bail on;
set list on;
shell del r:\temp\tmp4test.fdb 2>nul;
create database 'localhost:r:\temp\tmp4test.fdb' user 'sysdba' password 'masterkey';
show version;
commit;
recreate table test(id int);
commit;
set term ^;
execute block as
begin
execute statement
'insert into test(id) '
'select 1 '
'from rdb$database'
;
end
^
NOTE: there is no concatenation between lines insert into ... and select 1 (and also next pair: select 1 and from rdb$database).
Please consider following script:
NOTE: there is no concatenation between lines
insert into ...
andselect 1
(and also next pair:select 1
andfrom rdb$database
).FB 4.x will issue error for such script:
FB 5.x and 6.x silently accept it, no error is issued.
Is it expected ?
(i'm not sure whether this is bug or no, thus i did not set any label for this ticket)
The text was updated successfully, but these errors were encountered: