Hi Murray > There still seems to be some problem. Our code appears to be acting > according to your documentation but we're still getting the "command in > progress" type of error. > > The call sequence is: > > - odbx_query() with a query string that results in no DB hits; returns 0 > - odbx_result() with that query handle; returns 3 (ODBX_RES_ROWS) > - odbx_row_fetch() with that result handle; returns 0 (ODBX_ROW_DONE)
Here's an additional odbx_result() call missing which must be always called until it returns ODBX_RES_DONE. > - odbx_result_finish() called; no return > - odbx_query() with a second query; returns -1 Then this problem should be gone for PostgreSQL and some other databases. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX