#42589 [Asn->Csd]: getColumnMeta() should also return table name

From: Date: Tue, 13 Jan 2009 02:51:19 +0000
Subject: #42589 [Asn->Csd]: getColumnMeta() should also return table name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132815@lists.php.net to get a copy of this message
 ID:               42589
 Updated by:       scottmac@php.net
 Reported By:      fabrizio dot balliano at crealabs dot it
-Status:           Assigned
+Status:           Closed
 Bug Type:         PDO related
 Operating System: *
 PHP Version:      5.2.4
 Assigned To:      scottmac
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Will be in 5.3.0


Previous Comments:
------------------------------------------------------------------------

[2009-01-08 10:40:24] pajoye@php.net

Scott, can you take a look at the patch please?

------------------------------------------------------------------------

[2008-11-30 11:47:12] mj@php.net

MySQL has been supporting this for quite some time now.  My patch for
SQLite is still pending, I guess.

------------------------------------------------------------------------

[2007-10-13 09:59:58] mj@php.net

I have suggested a first patch to implement this for MySQL and SQLite:
http://news.php.net/php.internals/32742

------------------------------------------------------------------------

[2007-09-07 16:07:43] fabrizio dot balliano at crealabs dot it

Description:
------------
if you do 
"select * from table1 join table2 on (table1.id=table2.id)

how can you understand which fields are coming from table1 and which
from table2?

the only way is that getcolumnmeta() also returns the table name of
every column



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42589&edit=1



Thread (5 messages)

« previous php.bugs (#132815) next »