Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Ignore PARAMETERMETADATA part in _handle_upsert #89
Browse files Browse the repository at this point in the history
  • Loading branch information
pfirnkes authored and jarus committed Feb 16, 2018
1 parent 72d7e68 commit 618c674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyhdb/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _handle_upsert(self, parts, unwritten_lobs=()):
for part in parts:
if part.kind == part_kinds.ROWSAFFECTED:
self.rowcount = part.values[0]
elif part.kind in (part_kinds.TRANSACTIONFLAGS, part_kinds.STATEMENTCONTEXT):
elif part.kind in (part_kinds.TRANSACTIONFLAGS, part_kinds.STATEMENTCONTEXT, part_kinds.PARAMETERMETADATA):
pass
elif part.kind == part_kinds.WRITELOBREPLY:
# This part occurrs after lobs have been submitted not at all or only partially during an insert.
Expand Down

0 comments on commit 618c674

Please sign in to comment.