]> granicus.if.org Git - php/commitdiff
Use integer placeholders, since values can vary with the TDS version
authorAdam Baratz <adam.baratz@gmail.com>
Wed, 24 Aug 2016 22:44:55 +0000 (18:44 -0400)
committerStanislav Malyshev <stas@php.net>
Mon, 5 Sep 2016 07:17:59 +0000 (00:17 -0700)
ext/pdo_dblib/tests/bug_45876.phpt

index 920905830a9be5a355b23d35a93ba4b02c6bb103..dd029f87e320a0d30875ef70457b663b191ceadb 100644 (file)
@@ -14,10 +14,10 @@ $stmt->execute();
 var_dump($stmt->getColumnMeta(0));
 $stmt = null;
 ?>
---EXPECT--
+--EXPECTF--
 array(8) {
   ["max_length"]=>
-  int(255)
+  int(%d)
   ["precision"]=>
   int(0)
   ["scale"]=>
@@ -29,7 +29,7 @@ array(8) {
   ["name"]=>
   string(13) "TABLE_CATALOG"
   ["len"]=>
-  int(255)
+  int(%d)
   ["pdo_type"]=>
   int(2)
 }