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

Invalid UPDATE OR INSERT usage may lead to successive "request depth exceeded. (Recursive definition?)" error [CORE2971] #3353

Closed
firebird-automations opened this issue Apr 19, 2010 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

Test case:

create table t1 (n1 integer);
create table t2 (n2 integer);

create view v as select * from t1, t2;

-- repeat this many times
update or insert into v values (1, 2);

After a few:
Statement failed, SQLSTATE = 54001
Dynamic SQL Error
-UPDATE OR INSERT without MATCHING could not be used with views based on more than one table

It starts raising:
Statement failed, SQLSTATE = 54001
unsuccessful metadata update
-request depth exceeded. (Recursive definition?)

Commits: 1ee74f5

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC3 [ 10381 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

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