Re: 09.03.0100 cursor failures on various architectures

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: 09.03.0100 cursor failures on various architectures
Дата
Msg-id 52FD2D84.8020601@vmware.com
обсуждение исходный текст
Ответ на 09.03.0100 cursor failures on various architectures  (Christoph Berg <christoph.berg@credativ.de>)
Список 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


В списке pgsql-odbc по дате отправления:

Предыдущее
От: Nils Gösche
Дата:
Сообщение: Null Characters in Strings, Version 9.3.1
Следующее
От: Ed Hutchinson
Дата:
Сообщение: Error on Mac - Library not loaded: /usr/lib/libltdl.7.dylib