You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/09/01 11:21:00 UTC
[jira] [Commented] (IGNITE-6211) ODBC: SQLBindParameter should not
unbind parameter if the ParameterValuePtr is NULL
[ https://issues.apache.org/jira/browse/IGNITE-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150371#comment-16150371 ]
Pavel Tupitsyn commented on IGNITE-6211:
----------------------------------------
[~isapego] looks good to me.
> ODBC: SQLBindParameter should not unbind parameter if the ParameterValuePtr is NULL
> -----------------------------------------------------------------------------------
>
> Key: IGNITE-6211
> URL: https://issues.apache.org/jira/browse/IGNITE-6211
> Project: Ignite
> Issue Type: Bug
> Components: odbc
> Affects Versions: 2.1
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Labels: important
> Fix For: 2.3
>
>
> Currently, {{SQLBindParameter}} unbinds parameter if the {{ParameterValuePtr}} is {{NULL}} in analogy with {{SQLBindCol}}. Howeverm according to https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlbindparameter-function there should not be such a behaviour. {{ParameterValuePtr}} can be set to {{NULL}} for example if user wants to bind {{SQL_NULL_DATA}} parameter.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)