[TYPO3-core] RFC: Fix FE user login for DBAL

Dmitry Dulepov typo3 at accio.lv
Wed Jun 28 10:42:11 CEST 2006


Hi!

Karsten Dambekalns wrote:
> So if MySQL would not accept an INSERT or UPDATE query with a NOT NULL field 
> not having an explicit default *not* being assigned a value in the query, 
> almost all of TYPO3 would break instantly. Most INSERT and UPDATE statements 
> mention only a few of the available fields...

But this behavior is correct. If column is not null and it does not have 
explicit default value, there should be a error according to standard. 
Looks like earlier mysql versions did not follow standard here.

We never must rely on the incorrect behavior.

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list