[Q] SQLMoreResults causes error in SQLFetchScroll

From: "V S P" <toreason(at)fastmail(dot)fm>
To: pgsql-odbc(at)postgresql(dot)org
Subject: [Q] SQLMoreResults causes error in SQLFetchScroll
Date: 2009-05-17 05:58:53
Message-ID: 1242539933.12716.1315834929@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fastmail(dot)fm

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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message V S P 2009-05-17 06:09:41 Re: [Q] SQLMoreResults causes error in SQLFetchScroll
Previous Message Ken Sell 2009-05-14 22:17:34 Re: DataDirect Driver, ExecDirect and UTF-8