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

Fixed parameters tuple access with unicode index #98

Merged
merged 1 commit into from
Feb 16, 2018

Conversation

spartan057
Copy link
Contributor

On executing context for a prepared statement which calls parameterized
functions, stored procedures, etc. HANA returns parametermetadata
containing the parameters name as id. On execution cursor.py used this
id for index access to the parameters tuple. Now an enumeration is used
to get the position of the current parameter/parametermetadata and for
access to the paramters tuple.

Executing a prepared statement can return parametermetadata which led
to "unknwon part kind" errors. The parameterdataset is now recognized
as valid part kind (but is ignored).

On executing context for a prepared statement which calls parameterized
functions, stored procedures, etc. HANA returns parametermetadata
containing the parameters name as id. On execution cursor.py used this
id for index access to the parameters tuple. Now an enumeration is used
to get the position of the current parameter/parametermetadata and for
access to the paramters tuple.

Executing a prepared statement can return parametermetadata which led
to "unknwon part kind" errors. The parameterdataset is now recognized
as valid part kind (but is ignored).
@spartan057 spartan057 closed this Feb 14, 2018
@spartan057 spartan057 reopened this Feb 14, 2018
@jarus jarus merged commit e33f4b8 into SAP-archive:master Feb 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants