[Q] SQLMoreResults causes error in SQLFetchScroll - Mailing list pgsql-odbc

From V S P
Subject [Q] SQLMoreResults causes error in SQLFetchScroll
Date
Msg-id 1242539933.12716.1315834929@webmail.messagingengine.com
Whole thread Raw
Responses Re: [Q] SQLMoreResults causes error in SQLFetchScroll
Re: [Q] SQLMoreResults causes error in SQLFetchScroll
List pgsql-odbc
Hello,

I am using the method recommended to obtain a row count
from an operation.

That method relies on call SQLMoreResults


It appears, however, that that mechanism causes
an error down the stream (that I do not undersand)
in SQLFetchScroll


I have an example source file that demonstrates the problem

http://pastebin.com/m2b11b28d

It is an 'extract' of the actual ODBC calls that are going on
in from within OTL C++ library.

Essentailly non of SQL statements are working (because OTL
tries to obtain the row count and then deploys the sequence of
ODBC statements described in the example)


Wanted to ask if somebody has ran into this or if it is a bug,
how to log it (if it is allowed to be logged) and if there is a
workaround.

Thank you in advance for any help,
Vlad
--
  V S P
  toreason@fastmail.fm

--
http://www.fastmail.fm - A no graphics, no pop-ups email service


pgsql-odbc by date:

Previous
From: Ken Sell
Date:
Subject: Re: DataDirect Driver, ExecDirect and UTF-8
Next
From: "V S P"
Date:
Subject: Re: [Q] SQLMoreResults causes error in SQLFetchScroll