[MDEV-22064] result_metadata()->fetch_fields() returns incorrect orgname and orgtable for select statements with subquery in FROM clause Created: 2020-03-27 Updated: 2020-05-04 Resolved: 2020-05-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 5.5.64, 10.3.22 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Henry Olson | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS Linux release 7.7.1908 |
||
| Description |
|
The statement metadata does not correctly identify the underlying table and column. This is a regression vs e.g. MySQL 5.1.73. This behavior has been reproduced in several server environments and also with the mariadb client for nodejs. Impact: Cannot determine application-level metadata and security attributes for the tables and columns queried. Repro (PHP):
|
| Comments |
| Comment by Elena Stepanova [ 2020-04-05 ] |
|
I am getting orgname => SiteName everywhere – MySQL 5.1.73, 5.5.62, MariaDB 5.5.67, MariaDB 10.3.22. |