summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-04-06 13:55:32 +0200
committerAnatol Belski <ab@php.net>2016-04-06 13:55:32 +0200
commit02fc9cb31fe17408a0d13c9a05fb84acc5deadc4 (patch)
treee0538c4fce80ac8b2c17b97f730fe1ac1954124e
parentd54eafb349975652033bd6705ca1b61eae9aa5ec (diff)
downloadphp-git-02fc9cb31fe17408a0d13c9a05fb84acc5deadc4.tar.gz
skip test on 32-bit
The Postgres INT8 datatype is handled as string on 32-bit
-rw-r--r--ext/pdo_pgsql/tests/bug62498.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/tests/bug62498.phpt b/ext/pdo_pgsql/tests/bug62498.phpt
index e4ca3dec4f..ed25899990 100644
--- a/ext/pdo_pgsql/tests/bug62498.phpt
+++ b/ext/pdo_pgsql/tests/bug62498.phpt
@@ -1,11 +1,12 @@
--TEST--
-PDO PgSQL Bug #62498 (pdo_pgsql inefficient when getColumnMeta() is used)
+PDO PgSQL Bug #62498 (pdo_pgsql inefficient when getColumnMeta() is used), 64-bit
--SKIPIF--
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded');
require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
PDOTest::skip();
+if (PHP_INT_SIZE < 8) die("skip valid for 64-bit only");
?>
--FILE--
<?php