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

write_lobs fix: handle table with composite primary key #2103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

write_lobs fix: handle table with composite primary key #2103

wants to merge 2 commits into from

Conversation

dsusco
Copy link

@dsusco dsusco commented Jan 5, 2021

I ran into this issue trying to update a CLOB attribute in a table with a composite primary key. The SELECT FOR UPDATE statement was just dumping the comma delimited primary key into the where clause:

WHERE 'column_a,column_b' = "I'm in the mood to help you dude..."

I added a check for an array of primary keys, and if found built the id conditions up.

@stale
Copy link

stale bot commented Jun 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant