Fix wrong integer types in odbcsql and db_odbc (#10419)

* Fix wrong parameter type in SQLErr
* Fix wrong types of integers passed to SQLGetData
This commit is contained in:
pgkos 2019-01-22 22:39:53 +01:00 • committed by Miran
commit a0c07ef863
2 changed files with 19 additions and 47 deletions

View file

@ -830,7 +830,7 @@ proc SQLStatistics*(hstmt: SqlHStmt, CatalogName: PSQLCHAR,
proc SQLErr*(henv: SqlHEnv, hdbc: SqlHDBC, hstmt: SqlHStmt,
szSqlState, pfNativeError, szErrorMsg: PSQLCHAR,
cbErrorMsgMax: TSqlSmallInt,
pcbErrorMsg: PSQLINTEGER): TSqlSmallInt {.
pcbErrorMsg: PSQLSMALLINT): TSqlSmallInt {.
dynlib: odbclib, importc: "SQLError".}
{.pop.}