[TYPO3-core] RFC: empty SYS[setDBinit] floods error log

Martin Kutschker Martin.Kutschker at blackbox.net
Tue Apr 18 19:03:32 CEST 2006


Hi!

This is a patch request for HEAD and TYPO3_4-0.

Problem:
t3lib_db->sql_pconnect tries to execute SQL-statement set in SYS[setDBinit]. For an empty string at least on empty SQL-command is "exetcuted". This is unnecessary and floods the error log.

Solution:
Test if the SQL-command is an empty string.

Masi 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 628 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060418/69b16fe2/attachment.bin 


More information about the TYPO3-team-core mailing list