postgresql-odbc/postgresql-odbc-09.05.0210-sec-arch-testsuite-fix.patch
Pavel Raiskup edc7ea8a27 check: backport upstream fixes for testsuite
Commits: 186b42c74ea054 1da4f790a11f2.
Discussion:
https://www.postgresql.org/message-id/20160409143629.2BC5CB4C40D@winpg.jp

Resolves: rhbz#1350486
Version: 09.05.0300-2
2016-07-26 15:41:06 +02:00

28 lines
1.2 KiB
Diff

From 186b42c74ea05431745c171327d97ffec4d7d5bb Mon Sep 17 00:00:00 2001
From: Hiroshi Inoue <h-inoue@dream.email.ne.jp>
Date: Mon, 25 Jul 2016 07:13:19 +0900
Subject: [PATCH 2/2] Fix regression test failures in result-conversions-test
on big-endian platforms. expected/result-conversions_1.out lacks 3 lines.
---
test/expected/result-conversions_1.out | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/expected/result-conversions_1.out b/test/expected/result-conversions_1.out
index 31f55a4..2ce8e53 100644
--- a/test/expected/result-conversions_1.out
+++ b/test/expected/result-conversions_1.out
@@ -1320,6 +1320,9 @@ Executed: SET bytea_output=hex
'2011-02-15 15:49:18' (timestamp) as SQL_C_TIMESTAMP: y: 2011 m: 2 d: 15 h: 15 m: 49 s: 18 f: 0
'2011-02-16 17:49:18+03' (timestamptz) as SQL_C_DATE: y: 2011 m: 2 d: 16
'2011-02-16 17:49:18+03' (timestamptz) as SQL_C_TIMESTAMP: y: 2011 m: 2 d: 16 h: 6 m: 49 s: 18 f: 0
+'' (text) as SQL_C_TYPE_DATE: y: 0 m: 0 d: 0
+'' (text) as SQL_C_TYPE_TIME: h: 0 m: 0 s: 0
+'' (text) as SQL_C_TYPE_TIMESTAMP: y: 0 m: 0 d: 0 h: 0 m: 0 s: 0 f: 0
'foobar' (text) as SQL_C_CHAR: foob (truncated)
'foobar' (text) as SQL_C_CHAR: fooba (truncated)
'foobar' (text) as SQL_C_CHAR: foobar
--
2.7.4