[TYPO3-project-4-3] Deprecating SQL parser in TYPO3 4.3
Martin Kutschker
masi-no at spam-typo3.org
Wed Nov 4 11:34:21 CET 2009
Ernesto Baschny [cron IT] schrieb:
>
>> The code in the installer does too many checks based on string comparisons. This breaks even with
>> different version of the Mysql server.
>
> How else should the checks compare stuff if not by string comparisons?
By feature! Don't compare "varchar(11) NOT NULL" but array('type'=>'VARCHAR','notNull'=>true).
> The data should be more structured of course, so that we don't have a
> string like "int(10) unsigned auto_increment whatever" to compare with,
> but properties like "isAutoIncrement" etc.
Like above?
> The sql-parsing and the "comparasion" should different things / classes.
Right.
Masi
More information about the TYPO3-project-4-3
mailing list