pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Christoph Berg <christoph.berg@credativ.de>
To: pgsql-odbc@postgresql.org, Hiroshi Inoue <inoue@tpf.co.jp>
Subject: Re: 09.03.0200 test failures
Date: Mon, 24 Feb 2014 15:54:34 +0200
Message-ID: <530B4F1A.7080807@vmware.com> (raw)
In-Reply-To: <20140224120806.GE12457@msgid.df7cb.de>
References: <006a01cf28e4$7c425450$74c6fcf0$@de>
	<003201cf2ccb$c5d6ddd0$51849970$@de>
	<5303960F.3050706@vmware.com>
	<003b01cf2ce1$2e33bc80$8a9b3580$@de>
	<5303C2EA.7060109@vmware.com>
	<5303F655.8000200@tpf.co.jp>
	<5304ADB1.6090306@vmware.com>
	<20140224115931.GD12457@msgid.df7cb.de>
	<20140224120806.GE12457@msgid.df7cb.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 02/24/2014 02:08 PM, Christoph Berg wrote:
> Re: To Heikki Linnakangas 2014-02-24 <20140224115931.GD12457@msgid.df7cb.de>
>> Re: Heikki Linnakangas 2014-02-19 <5304ADB1.6090306@vmware.com>
>>> diff --git a/test/expected/lfconversion.out b/test/expected/lfconversion.out
>>> new file mode 100644
>>> index 0000000..ca4776c
>>> --- /dev/null
>>> +++ b/test/expected/lfconversion.out
>>
>> Hi Heikki,
>>
>> I'm afraid you forgot to update Makefile.am to include that file so it
>> didn't make it into the 09.03.0200 tarball, rendering the testsuite
>> unusable.
>
> After importing the two files into the 09.03.0200 tarball, I'm getting
> regression test failures:

The culprit was this commit:

> commit 2f4f8eabf6ce685c38d69da3e98132b77d38d188
> Author: Hiroshi Inoue <inoue@tpf.co.jp>
> Date:   Sat Feb 22 12:49:02 2014 +0900
>
>     It's safe to lock SC_set_prepared() itself.
>
> diff --git a/statement.c b/statement.c
> index 603a77a..a7dad74 100644
> --- a/statement.c
> +++ b/statement.c
> @@ -683,6 +683,7 @@ SC_set_prepared(StatementClass *stmt, int prepared)
>         {
>                 ConnectionClass *conn = SC_get_conn(stmt);
>
> +               ENTER_CONN_CS(conn);
>                 if (conn && CONN_CONNECTED == conn->status)
>                 {
>                         if (CC_is_in_error_trans(conn))

The ENTER_CONN_CS is misplaced; it's before the NULL check on the next 
line, so when conn==NULL, it segfaults. I pushed a quick fix for that.

We should wrap a new release quickly. The 09.03.0200 release was quite 
broken :-(.

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (5+ messages)  latest in thread

Message-ID: <530B4F1A.7080807@vmware.com>
Permalink:  ../530B4F1A.7080807@vmware.com/
Also on:    postgresql.org/message-id/530B4F1A.7080807@vmware.com

 · 

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: hlinnakangas@vmware.com, christoph.berg@credativ.de, inoue@tpf.co.jp
  Subject: Re: 09.03.0200 test failures
  In-Reply-To: <530B4F1A.7080807@vmware.com>
  References: <006a01cf28e4$7c425450$74c6fcf0$@de> <003201cf2ccb$c5d6ddd0$51849970$@de> <5303960F.3050706@vmware.com> <003b01cf2ce1$2e33bc80$8a9b3580$@de> <5303C2EA.7060109@vmware.com> <5303F655.8000200@tpf.co.jp> <5304ADB1.6090306@vmware.com> <20140224115931.GD12457@msgid.df7cb.de> <20140224120806.GE12457@msgid.df7cb.de> <530B4F1A.7080807@vmware.com>

* 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