1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix GH-11492: Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt
This commit is contained in:
nielsdos
2023-06-22 20:51:29 +02:00

View File

@@ -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:");