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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Sergey Kalashnikov created IGNITE-6511:
------------------------------------------

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


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 ({noformat}SQL_SUCCESS{noformat} instead of {noformat}SQL_SUCCESS_WITH_INFO{noformat}).



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