Bug #53538 Tables/views missing from generated tests where views are used in a query
| Submitted: | 10 May 2010 11:43 | ||
|---|---|---|---|
| Reporter: | John Embretsen | Email Updates: | |
| Status: | In progress | Impact on me: | |
| Category: | Tools: Random Query Generator | Severity: | S3 (Non-critical) |
| Version: | OS: | Any | |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[10 May 2010 11:43]
John Embretsen
[10 May 2010 11:50]
John Embretsen
Incomplete MTR test file generated by the RQG
Attachment: 1273480779.test (application/octet-stream, text), 3.48 KiB.
[10 May 2010 11:52]
Philip Stoev
It seems the reason for this is that the Simplifier is not set up to handle views at all. In the absence of a full-blown parser, it relies on a regexp in order to extract table names from the query. Hopefully if the regexp is fixed to allow for view names, a perl one-liner can be used to add both the underlying table and the view to the list of objects to be dumped. Column-level simplification may not work as expected, but at least the final test should be complete and runnable.
[28 May 1:12]
MySQL Admin
Posted by developer: Bug status updated to 'In progress'
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.