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

Commit

Permalink
Accept PARAMETERMETADATA part while handling select response
Browse files Browse the repository at this point in the history
  • Loading branch information
jarus committed Aug 15, 2016
1 parent b74dc31 commit 98d0879
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 @@ -341,7 +341,7 @@ def _handle_select(self, parts, result_metadata=None):
self._buffer = part.unpack_rows(self._column_types, self.connection)
self._received_last_resultset_part = part.attribute & 1
self._executed = True
elif part.kind in (part_kinds.STATEMENTCONTEXT, part_kinds.TRANSACTIONFLAGS):
elif part.kind in (part_kinds.STATEMENTCONTEXT, part_kinds.TRANSACTIONFLAGS, part_kinds.PARAMETERMETADATA):
pass
else:
raise InterfaceError("Prepared select statement response, unexpected part kind %d." % part.kind)
Expand Down

0 comments on commit 98d0879

Please sign in to comment.