mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
1e012ecb3f
Doctrine hardcodes the values of these constants, avoid changing them. Closes GH-7445.
41 lines
685 B
PHP
41 lines
685 B
PHP
--TEST--
|
|
PDO_DBLIB: Does not support get column meta
|
|
--EXTENSIONS--
|
|
pdo_dblib
|
|
--SKIPIF--
|
|
<?php
|
|
require __DIR__ . '/config.inc';
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require __DIR__ . '/config.inc';
|
|
|
|
$stmt = $db->prepare("select top 1 ic1.* from information_schema.columns ic1");
|
|
$stmt->execute();
|
|
var_dump($stmt->getColumnMeta(0));
|
|
$stmt = null;
|
|
?>
|
|
--EXPECTF--
|
|
array(10) {
|
|
["max_length"]=>
|
|
int(%d)
|
|
["precision"]=>
|
|
int(0)
|
|
["scale"]=>
|
|
int(0)
|
|
["column_source"]=>
|
|
string(13) "TABLE_CATALOG"
|
|
["native_type"]=>
|
|
string(4) "char"
|
|
["native_type_id"]=>
|
|
int(%d)
|
|
["native_usertype_id"]=>
|
|
int(%d)
|
|
["pdo_type"]=>
|
|
int(2)
|
|
["name"]=>
|
|
string(13) "TABLE_CATALOG"
|
|
["len"]=>
|
|
int(%d)
|
|
}
|