Re: 09.03.0100 cursor failures on various architectures

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Christoph Berg <christoph(dot)berg(at)credativ(dot)de>, PostgreSQL ODBC <pgsql-odbc(at)postgresql(dot)org>, psqlodbc(at)packages(dot)debian(dot)org
Subject: Re: 09.03.0100 cursor failures on various architectures
Date: 2014-02-13 20:39:32
Message-ID: 52FD2D84.8020601@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 02/12/2014 12:45 PM, Christoph Berg wrote:
> I've uploaded 09.03.0100 to Debian, but the build daemons for various
> architectures are reporting regression test failures for the "cursors"
> test, e.g. on mipsel:
>[...]
> The problem is the same on mips, mipsel, powerpc, s390x, and sparc.

It was a bug in the cursors test case. It was passing pointer to an
SQLUINTEGER variable to SQLGetInfo(..., SQL_CURSOR_COMMIT_BEHAVIOR,
...), but that property is a SQLUSMALLINT. On a little-endian system it
didn't make a difference, as SQLGetInfo set the low 2 bytes, but on
big-endian it's more visible.

Fixed, thanks for the report!

> s390x has that problem, plus an additional diff for positioned-update:
>
> *** /«PKGBUILDDIR»/test/expected/positioned-update.out Tue Dec 17 14:16:00 2013
> --- /«PKGBUILDDIR»/test/results/positioned-update.out Wed Feb 5 17:09:31 2014
> ***************
> *** 13,19 ****
> 2 2
> 3 3
> 4 4
> ! 105 5
> 7 7
> 8 8
> 9 9
> --- 13,19 ----
> 2 2
> 3 3
> 4 4
> ! 5 5
> 7 7
> 8 8
> 9 9

Hmm. I'll take a look..

- Heikki

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Ed Hutchinson 2014-02-14 02:38:35 Error on Mac - Library not loaded: /usr/lib/libltdl.7.dylib
Previous Message Nils Gösche 2014-02-13 17:53:20 Null Characters in Strings, Version 9.3.1