Skip to content

write_lobs fix: handle table with composite primary key#2103

Open
dsusco wants to merge 2 commits into
rsim:masterfrom
dsusco:master
Open

write_lobs fix: handle table with composite primary key#2103
dsusco wants to merge 2 commits into
rsim:masterfrom
dsusco:master

Conversation

@dsusco
Copy link
Copy Markdown

@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
Copy Markdown

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