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

Incorrect SQL generated when 2 or more columns should be returned on update [DNET850] #782

Closed
firebird-automations opened this issue Sep 9, 2018 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: Georgi Panayotov (gpanayotov)

When I have 2 or more columns that are calculated and they should be returned on update then wrong SQL is generated. I found this on https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL , but as I see the code this should appear here too.
The generated code is like:
...
RETURNING COLUMN1 INTO :COLUMN1, COLUMN2 INTO :COLUMN2
...

but it should be:
RETURNING COLUMN1, COLUMN2 INTO :COLUMN1, :COLUMN2

I've created a fork to try to fix the issue - the commit is:
gpanayotov/FirebirdSql.Data.FirebirdClient@17e3255

Commits: d8de581

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 6.4.0.0 [ 10884 ]

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