[unixODBC-dev] sqliteodbc-0.99pre1: Row Counts

Peter Harvey pharvey at peterharvey.org
Wed Nov 14 19:12:12 GMT 2012


Christian,

I am wondering if you could adjust how you return row counts? All seems
fine when UPDATE/DELETE but not for SELECT. Here is what I get when I
select 5 rows from a table.

[PAH][ODatStatementInternal.cpp][2567][doResultCacheAlloc]
        SQL_DIAG_CURSOR_ROW_COUNT=0
        SQL_DIAG_ROW_COUNT=0
        SQLRowCount=5

I make the two SQLGetDiagField calls immediately after SQLExecDirect so
I would expect the following.

        SQL_DIAG_CURSOR_ROW_COUNT=5
        SQL_DIAG_ROW_COUNT=0
        SQLRowCount=0

--
Cheers
Peter



More information about the unixODBC-dev mailing list