Bug #18221
closedSQL Error when Explain Queries with multiple tables
0%
Description
When using the feature "explain select queries" with exec select queries with more than one table, an error is show. This is caused when in the from clause "table1, table2" is used, since the from clause is used on "show index from $fromClause"
Error Message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tx_commerce_products_categories_mm,tx_commerce_articles, tx_commerce_article_pri' at line 1
SHOW INDEX FROM tx_commerce_products ,tx_commerce_products_categories_mm,tx_commerce_articles, tx_commerce_article_prices
see attached patch
(issue imported from #M7545)
Files
Updated by Ingo Schmitt almost 17 years ago
Patch is not working with inner and outer join
Updated by Ingo Schmitt almost 17 years ago
New patch using t3lib_sql Parser uploaded