Req #41502 [Opn->Ver]: getColumnMeta() table name support for pdo_sqlite
| From: | cmb@php.net | Date: | Fri, 21 Sep 2018 21:28:08 +0000 |
| Subject: | Req #41502 [Opn->Ver]: getColumnMeta() table name support for pdo_sqlite | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217192@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=41502&edit=1
ID: 41502
Updated by: cmb@php.net
Reported by: Antti dot Andreimann at mail dot ee
Summary: getColumnMeta() table name support for pdo_sqlite
-Status: Open
+Status: Verified
Type: Feature/Change Request
Package: PDO SQLite
Operating System: all
PHP Version: 5CVS-2007-05-25 (snap)
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This issue has already been fixed via commit efaba65[1], but since
the fix relies on a compile time macro of SQLite[2], it can't work
for system libsqlite3 (i.e. only bundled libsqlite3 is supported).
[1] <http://git.php.net/?p=php-src.git;a=commit;h=efaba65cf5aa5e6469bd6c53637b950934dccd44>
[2] <https://github.com/php/php-src/blob/php-7.3.0RC1/ext/pdo_sqlite/sqlite_statement.c#L334-L339>
Previous Comments:
------------------------------------------------------------------------
[2017-10-20 18:38:49] kalle@php.net
Unassigning as Ilia is not currently active
------------------------------------------------------------------------
[2007-05-25 19:12:54] Antti dot Andreimann at mail dot ee
Description:
------------
During the processing of FR #41416 PDO->getColumnMeta was enhanced so, that it will return table
names for mysql result columns.
Since this is a useful feature for other DBMS's as well I have created
a patch that will implement this feature in pdo_sqlite.
http://www.linux.ee/~anttix/php-pdo_sqlite-tablenames.patch
Please consider committing.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=41502&edit=1