You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kalashnikov (JIRA)" <ji...@apache.org> on 2017/09/27 12:13:00 UTC

[jira] [Updated] (IGNITE-6511) ODBC: SQLGetDiagRec doesn't follow specification when buffer size is too small

     [ https://issues.apache.org/jira/browse/IGNITE-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Kalashnikov updated IGNITE-6511:
---------------------------------------
    Description: When buffer size provided for error message is not big enough to hold the entire error message, the function {{SqlGetDiagRec}} returns wrong resulting string length (-4) and wrong result code ({{SQL_SUCCESS}} instead of {{SQL_SUCCESS_WITH_INFO}}).  (was: When buffer size provided for error message is not big enough to hold the entire error message, the function {noformat}SqlGetDiagRec{noformat} returns wrong resulting string length (-4) and wrong result code ({{SQL_SUCCESS}} instead of {{SQL_SUCCESS_WITH_INFO}}).)

> ODBC: SQLGetDiagRec doesn't follow specification when buffer size is too small
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-6511
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6511
>             Project: Ignite
>          Issue Type: Bug
>          Components: odbc
>            Reporter: Sergey Kalashnikov
>              Labels: usability
>
> When buffer size provided for error message is not big enough to hold the entire error message, the function {{SqlGetDiagRec}} returns wrong resulting string length (-4) and wrong result code ({{SQL_SUCCESS}} instead of {{SQL_SUCCESS_WITH_INFO}}).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)