summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib
diff options
context:
space:
mode:
authorAdam Baratz <adambaratz@php.net>2020-05-08 15:11:38 -0400
committerAdam Baratz <adambaratz@php.net>2020-05-08 15:13:40 -0400
commita07e75aa65e6658e8180e261a4ee29bc5caa4f56 (patch)
treee7a9e8da11d9860c0a19cb2df88b8dac1345b0c6 /ext/pdo_dblib
parentbba9bc686308a3c99bcbf7f80a0068968030595d (diff)
downloadphp-git-a07e75aa65e6658e8180e261a4ee29bc5caa4f56.tar.gz
Skip test if bigint type is unsupported by active TDS version
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r--ext/pdo_dblib/tests/bug_73396.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_dblib/tests/bug_73396.phpt b/ext/pdo_dblib/tests/bug_73396.phpt
index 86ad59f43f..4ef77d8c9f 100644
--- a/ext/pdo_dblib/tests/bug_73396.phpt
+++ b/ext/pdo_dblib/tests/bug_73396.phpt
@@ -4,6 +4,7 @@ PDO_DBLIB: bigint columns are returned as strings
<?php
if (!extension_loaded('pdo_dblib')) die('skip not loaded');
require __DIR__ . '/config.inc';
+if (in_array($db->getAttribute(PDO::DBLIB_ATTR_TDS_VERSION), ['4.2', '4.6', '5.0', '6.0', '7.0'])) die('skip bigint type is unsupported by active TDS version');
?>
--FILE--
<?php