Actions
Bug #18221
closedSQL Error when Explain Queries with multiple tables
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2008-02-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions