mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Fix GH-11492: Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt
Closes GH-11494.
This commit is contained in:
parent
812682591c
commit
039dd0b4bd
4
NEWS
4
NEWS
@ -8,6 +8,10 @@ PHP NEWS
|
||||
- PCRE:
|
||||
. Mangle PCRE regex cache key with JIT option. (mvorisek)
|
||||
|
||||
- PDO SQLite:
|
||||
. Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).
|
||||
(KapitanOczywisty, CViniciusSDias)
|
||||
|
||||
- Session:
|
||||
. Removed broken url support for transferring session ID. (ilutov)
|
||||
|
||||
|
@ -3,6 +3,13 @@ PDO SQLite Feature Request #42589 (getColumnMeta() should also return table name
|
||||
--EXTENSIONS--
|
||||
pdo
|
||||
pdo_sqlite
|
||||
--SKIPIF--
|
||||
<?php
|
||||
$db = new PDO("sqlite::memory:");
|
||||
$options = $db->query('PRAGMA compile_options')->fetchAll(PDO::FETCH_COLUMN);
|
||||
if(!in_array('ENABLE_COLUMN_METADATA', $options, true))
|
||||
die("skip sqlite3 must be compiled with SQLITE_ENABLE_COLUMN_METADATA");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$db = new PDO("sqlite::memory:");
|
||||
|
Loading…
Reference in New Issue
Block a user