|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-09 17:33 UTC] uw@php.net
-Type: Bug
+Type: Feature/Change Request
[2011-05-09 17:33 UTC] uw@php.net
[2016-09-18 18:41 UTC] cmb@php.net
-Type: Feature/Change Request
+Type: Bug
[2016-09-18 18:41 UTC] cmb@php.net
[2017-04-24 20:27 UTC] adambaratz@php.net
[2020-12-11 14:45 UTC] nikic@php.net
-Status: Open
+Status: Duplicate
[2020-12-11 14:45 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 00:00:02 2025 UTC |
Description: ------------ PDO::ERRMODE_SILENT is not respected by PDOStatement::getColumnMeta() Test script: --------------- $pdo = new PDO('sqlite2:demo.db'); // SQLite does not support getColumnMeta $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); $result = $pdo->query('SELECT * FROM users'); $result->getColumnMeta(1); Expected result: ---------------- no warning Actual result: -------------- Warning: PDOStatement::getColumnMeta() [pdostatement.getcolumnmeta]: SQLSTATE[IM001]: Driver does not support this function: driver doesn't support meta data