pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Glen Parker <glenebob@nwlink.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Bug in latest ODBC driver (07.02.0004)
Date: Mon, 25 Nov 2002 10:56:25 +0900
Message-ID: <3DE18349.9E3CDA92@tpf.co.jp> (raw)
References: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.net>

Glen Parker wrote:
> 
> The 07.02.0004 (the ver. 3, non unicode in this case) driver has
> broken some programs I have.  Attached is a snip from my ODBC log.
> 
> The basic problem seems to be that sending a 'create ...' statement
> to the server and trying to get the row count after it executes
> causes errors that shouldn't be happening.  The statement executes
> fine, as the log shows, but SQLRowCount() returns -1 (SQL_ERROR).
> There is also aparently no error info saved because
> SQLGetDiagRecW() returns 100 (SQL_NO_DATA_FOUND).
> 
> Shouldn't SQLRowCount() succeed and return a row count of -1?

You seem to be right. I would commit the change.
Also try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/.

Thanks.
Hiroshi Inoue



view thread (4+ messages)  latest in thread

Message-ID: <3DE18349.9E3CDA92@tpf.co.jp>
Permalink:  ../3DE18349.9E3CDA92@tpf.co.jp/
Also on:    postgresql.org/message-id/3DE18349.9E3CDA92@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, glenebob@nwlink.com
  Subject: Re: Bug in latest ODBC driver (07.02.0004)
  In-Reply-To: <3DE18349.9E3CDA92@tpf.co.jp>
  References: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.net> <3DE18349.9E3CDA92@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox