sqliteodbc-0.99pre1: Row Counts

Peter Harvey <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
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

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.