Actions
Bug #21758
closedAllow useless parentheses to be parsed
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-12-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Sometimes, developers include useless parentheses in their WHERE clause. E.g.:
SELECT * FROM pages WHERE (uid=3)
This cannot be parsed as using a parenthesis basically tells the parser that a combined condition (with AND or OR) will be found.
It would make DBAL better if it could parse those queries anyway.
See related bugs for a few real-world examples.
(issue imported from #M12865)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - TYPO3 Version set to 4.3
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Actions