Igor Sapego created IGNITE-6211:
-----------------------------------

             Summary: 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


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)

Reply via email to