[TYPO3-core] RFC #11022: DBAL does not support SQL from (new?) session management

Xavier Perseguers typo3 at perseguers.ch
Sun May 3 12:48:57 CEST 2009


Hi,

This is a SVN patch request.

Type: Bugfix

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=11022

Problem:
When logging into the backend, DBAL stops while trying to parse and 
convert the following WHERE clause:

... WHERE (crdate + lifetime) >= 1241265817 OR lifetime = 0

The parser is not able to parse "crdate + lifetime", that is, a 
calculated value (with "+" operator).

Solution:
1) The parser already supports the "&" as calc operator. Extend it to 
allow the "+".

2) Remove pretty but unneeded extra parentheses around the calculated 
statement "(crdate + lifetime)" as it bugs the SQL parser.

Note:
With this patch, I'm finally able to log into the backend ;-)

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11022.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090503/7409fe95/attachment.txt 


More information about the TYPO3-team-core mailing list