Skip to content

Commit a07e75a

Browse files
committed
Skip test if bigint type is unsupported by active TDS version
1 parent bba9bc6 commit a07e75a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pdo_dblib/tests/bug_73396.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PDO_DBLIB: bigint columns are returned as strings
44
<?php
55
if (!extension_loaded('pdo_dblib')) die('skip not loaded');
66
require __DIR__ . '/config.inc';
7+
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');
78
?>
89
--FILE--
910
<?php

0 commit comments

Comments
 (0)