Issue Bug Closed

#66430Avoid MySQL Warning in File Meta Index process

Tim Lochmüller 04/15/15, 11:28 updated 10/02/18, 11:45

Description

Hey guys,

the current “typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php” create a index record with “file,pid,crdate,tstamp,cruser_id”. But in the database definition the “l10n_diffsource” has no default value:
…
l10n_diffsource mediumblob NOT NULL,
…

So we get this MySQL Warning: Warning 1364 Field ‘l10n_diffsource’ doesn’t have a default value

Should we add a “DEFAULT ‘’” to the definition or set a empty string for the field in MetaDataRepository?

Regards,
Tim

Reviews 1