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:
parent
53eda40d40
commit
a0c07ef863
2 changed files with 19 additions and 47 deletions
|
|
@ -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.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue