[TYPO3-core] Warning in t3lib_db line 1047
Stefan Geith
typo3dev2008.nospam1 at geithware.de
Fri Jun 13 09:06:53 CEST 2008
Martin Kutschker schrieb:
> Stefan Geith schrieb:
>> ...
>> $columns_res = mysql_query('SHOW CHARACTER SET', $this->link);
>> ...
> Please consult the Mysql docs. They state that this is supported since 4.1.
>
>> --------
>>
>> Does anybody know what impact it has, if no
>> charsets can be read from mysql ?
>>
>> Should the above change get applied to the core ?
>
> Only if TYPO3 4.2 is supposed to run on Mysql 4.0 or even 3.23.
> Personally I think that 4.2 should require at least 4.1 I have asked on
> the list for a decision but unlike the PHP rquirement there was never an
> official statement about it.
>
> As TYPO3 4.2 runs probably fine on 4.0 besides this issue it might be a
> nice move to add this code to the Core. OTOH it's always a good move to
> check the result set. I think it's somewhat sloppy if it's missing.
>
> For 4.3 we should remove it again (or better not add it to the trunk)
> and make a Mysql version check in the installer and in the about module
> (where the other admin warnings are).
All managed webservers at 1+1 only have mySql 4.0 and there is no
chance to get 5.x or even 4.1 ... :(
So I'll make a bug-tracker entry and post a patch - OK ?
And I think it should go into 4.2.x and 4.3.
-
Stefan
More information about the TYPO3-team-core
mailing list