pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: pgsql-odbc@postgresql.org
Subject: Server side prepare patch #2
Date: Mon, 5 Dec 2005 22:06:15 +0100
Message-ID: <20051205210615.GA17677@soptik.pzkagis.cz> (raw)

Hello,

  I've attached patch to solve problem with multiple calling SQLPrepare
or SQLExecDirect with Server side prepare. The patch is based on patch
posted by Reiner. I thank you for patch and testing.

Regards,

Luf

Attachments:

psqlodbc-server_side_prepare2.diff (text/plain, 462B) download diff -c psqlodbc.orig\execute.c psqlodbc\execute.c *** psqlodbc.orig\execute.c Sun Dec 04 22:16:28 2005 --- psqlodbc\execute.c Mon Dec 05 13:09:34 2005 *************** *** 308,315 **** res->next = NULL; QR_Destructor(res); res = kres; - SC_set_prepared(stmt, TRUE); } } else { --- 308,315 ---- res->next = NULL; QR_Destructor(res); res = kres; } + SC_set_prepared(stmt, TRUE); } else {

Message-ID: <20051205210615.GA17677@soptik.pzkagis.cz>
Permalink:  ../20051205210615.GA17677@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20051205210615.GA17677@soptik.pzkagis.cz

 ·  · 

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: luf@pzkagis.cz
  Subject: Re: Server side prepare patch #2
  In-Reply-To: <20051205210615.GA17677@soptik.pzkagis.cz>
  References: <20051205210615.GA17677@soptik.pzkagis.cz>

* 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