[TYPO3-core] RFC #8697: Warnings when using MySql 4.0
Martin Kutschker
martin.kutschker-no at spam-blackbox.net
Fri Jun 13 09:56:47 CEST 2008
Benjamin Mack schrieb:
> Hey Stefan,
>
> interesting.
>
> Can you please make the if-clause in a separate line with curly braces?
>
> if ($columns_res) {
> ....
> }
Yes!
> Also, can you point out when the warnings occur?
The installer tries to do nifty things with the charset/collation. I
think Stucki tried some clever things with it. Anyway Mysql 4.0 simply
doesn't understand that statement.
I think that when the function returns an empty array then the installer
simply will not add a charset/collation definition to the table. Which
is no loss IMHO because the statement only retrieves the default values.
So there is little point in it. Or am I missing something, Stucki?
BTW, DBAL lacks this method in 4.2.x and so DBAL doesn't work at ALL
thanks to this addition.
Masi
More information about the TYPO3-team-core
mailing list