diff --git a/src/db_odbc.nim b/src/db_odbc.nim index 1e4032b348..0ecd8129f1 100644 --- a/src/db_odbc.nim +++ b/src/db_odbc.nim @@ -334,7 +334,7 @@ proc `[]`*(row: InstantRow, col: int): string {.inline.} = proc unsafeColumnAt*(row: InstantRow, index: int): cstring {.inline.} = ## Return cstring of given column of the row - row.row[index] + row.row[index].cstring proc len*(row: InstantRow): int {.inline.} = ## Returns number of columns in the row