Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statemnt that crash Firebird 2.1.2, and works on 2.1.1 [CORE2469] #2882

Closed
firebird-automations opened this issue May 22, 2009 · 5 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Stanisław Gurgacz (sgurgacz1)

Duplicates CORE2291

That kind of statement
------------------------
INSERT INTO TABLE1 (TABLE1_ID, TABLE2_ID, NAME, TYPE0, TYPE1, TYPE2, TYPE3, TYPE4, TYPE5) VALUES ((GEN_ID(SEK_TABLE1, 1)), ( select TABLE2_ID from TABLE2 where NAME = 'some string'), 'some string', NULL, 'W' , 0, 1, 1, 8);
-----------------

create error:
----------------
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements.
internal gds software consistency check (cannot restore singleton select data (284), file: rse.cpp line: 3426).
-----------------------
Substatement :
select TABLE2_ID from TABLE2 where NAME = 'some string'
gives as result only one ID - about 1000 ( 'some string' in COLUMN NAME is unique, and it exist).
Substatement for GEN_ID also givs normal result something about 1000.
---------------------
That statement works fine on FB 2.1.1, and 2.0.3, and 2.0.4.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Duplicates CORE2291.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue duplicates CORE2291 [ CORE2291 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant