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

Server shuts down with following SQL [CORE130] #456

Closed
firebird-automations opened this issue Dec 31, 2002 · 2 comments
Closed

Server shuts down with following SQL [CORE130] #456

firebird-automations opened this issue Dec 31, 2002 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: hschlup (hschlup)

Assigned to: @ArnoBrinkman

SFID: 660298#⁠
Submitted By: hschlup

To resolve my problem with Unions in Sub-Query I tried
following. I created a view:

CREATE VIEW V_Call_User
(ID, User_ID)
AS
SELECT id,owner_id FROM call
UNION
SELECT id,responsible_id FROM call
UNION
SELECT id,supervisor_id FROM call
UNION
SELECT call_id,responsible_id FROM call_task

That gives me a simple list...

A simple select to this list works fine. But when I
execute the following SQL:

SELECT * FROM V_CALL WHERE id IN
( SELECT id FROM V_CALL_USER
WHERE user_id = '1')

I get a AV and even the Server shut's down and i have to
restart the server
service.

This bug was confirmed by Arno Brinkman in the
newsgroup: borland.public.interbase.general

Yes, it's a BUG !

I can reproduce it !

Have you tried and Stored Procedure instead ? Maybe
you can workaround wit
an SP.

Regards,
Arno Brinkman

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10154 ] => Firebird [ 14370 ]

@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