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.
CREATE VIEW VIEW_Foo (
Bar
) AS SELECT
Bar
FROM Foo
WHERE(Trim(Str) = 'test')
WITH CHECK OPTION
;
This will fail with error message
<<
Message: isc_dsql_prepare failed
SQL Message : -902
Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements
Engine Code : 335544721
Engine Message :
Unable to complete network request to host "localhost".
Error reading data from the connection.
>>
It tooks few seconds before it fails, so it looks like server goes into some loop before it fails...
Remove either "WITH CHECK OPTION" or call to "TRIM" and it is accepted.
Submitted by: Ain Valtin (ain)
Is related to QA449
CREATE TABLE Foo (
Bar INTEGER,
Str CHAR(31)
);
CREATE VIEW VIEW_Foo (
Bar
) AS SELECT
Bar
FROM Foo
WHERE(Trim(Str) = 'test')
WITH CHECK OPTION
;
This will fail with error message
<<
Message: isc_dsql_prepare failed
SQL Message : -902
Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements
Engine Code : 335544721
Engine Message :
Unable to complete network request to host "localhost".
Error reading data from the connection.
>>
It tooks few seconds before it fails, so it looks like server goes into some loop before it fails...
Remove either "WITH CHECK OPTION" or call to "TRIM" and it is accepted.
Commits: 9086a90 f8a665b FirebirdSQL/fbt-repository@90496df
The text was updated successfully, but these errors were encountered: