You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/31 17:10: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=16149277#comment-16149277 ]
ASF GitHub Bot commented on IGNITE-6211:
----------------------------------------
GitHub user isapego opened a pull request:
https://github.com/apache/ignite/pull/2573
IGNITE-6211: ODBC: SQLBindParameter now does not unbind parameter if the ParameterValuePtr is NULL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6211
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2573.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2573
----
commit 0b0bc5084cee188c56ce9549bb54cbc68d1c41f0
Author: Igor Sapego <is...@gridgain.com>
Date: 2017-08-31T15:28:23Z
IGNITE-6211: Added test
commit 4e00582abf4ff530ae13cf0eb6870e382098e63a
Author: Igor Sapego <is...@gridgain.com>
Date: 2017-08-31T16:46:03Z
IGNITE-6211: Issue fixed
----
> 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)