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

Regression: Built-in functions and subselect no longer supported in "update or insert" value list [CORE4081] #4409

Closed
firebird-automations opened this issue Apr 10, 2013 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Thomas Beckmann (thbeckmann)

Consider the following test case:

create table TEST (UID varchar(64));

update or insert into TEST (UID) values (uuid_to_char(gen_uuid())) matching (UID);

This leads to "column unknown" in FB3.0 while it works in FB2.5.

In FB2.5, even

update or insert into TEST (UID)
values ((select uuid_to_char(gen_uuid()) from RDB$DATABASE))
matching (UID);

works fine.

Commits: 0d40311 FirebirdSQL/fbt-repository@bf767fa

@firebird-automations
Copy link
Collaborator Author

Modified by: Thomas Beckmann (thbeckmann)

description: Consider the following test case:

create table TEST (UID varchar(64));

update or insert into TEST (UID) values (uuid_to_char(gen_uuid())) matching (UID);

This leads to "column unknown" in FB3.0 while it works in FB2.5.

=>

Consider the following test case:

create table TEST (UID varchar(64));

update or insert into TEST (UID) values (uuid_to_char(gen_uuid())) matching (UID);

This leads to "column unknown" in FB3.0 while it works in FB2.5.

In FB2.5, even

update or insert into TEST (UID)
values ((select uuid_to_char(gen_uuid()) from RDB$DATABASE))
matching (UID);

works fine.

summary: Buildin function no longer supported in "update or insert" value list => Buildin function and subselect no longer supported in "update or insert" value list

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

summary: Buildin function and subselect no longer supported in "update or insert" value list => Regression: Built-in functions and subselect no longer supported in "update or insert" value list

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Version: 3.0 Initial [ 10301 ]

Version: 3.0 Alpha 1 [ 10331 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@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
Projects
None yet
Development

No branches or pull requests

2 participants