Edit report at https://bugs.php.net/bug.php?id=61588&edit=1

 ID:                 61588
 Updated by:         johan...@php.net
 Reported by:        cdburgess at gmail dot com
 Summary:            PDOStatement::getColumnMeta returns original table
                     name from view
-Status:             Assigned
+Status:             Feedback
 Type:               Bug
 Package:            PDO related
 Operating System:   Mac OSX
 PHP Version:        5.3.10
 Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

I can't reproduce this. Please provide a reproduce script including table and 
view definition and information about the MySQL server version you are using.


Previous Comments:
------------------------------------------------------------------------
[2012-04-01 03:58:58] cdburgess at gmail dot com

Description:
------------
The data returned from PDOStatement::getColumnMeta is inconsistent when run on 
a 
MySQL view. It works fine against tables, but in some cases when run against a 
View in MySQL, it returns the original table name from the table that was used 
to 
create the view.

Expected result:
----------------
I would expect the Table name being returned to be the name of the View, not 
the 
original table the view is created from.



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



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

Reply via email to