[BUGFIX] Check for incompatible SQL modes 37/23237/2
authorSascha Egerer <sascha.egerer@dkd.de>
Thu, 22 Aug 2013 09:32:54 +0000 (11:32 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Thu, 22 Aug 2013 09:40:22 +0000 (11:40 +0200)
commite727d5ff0b8ee93de38983555164b19f6bf87377
treebd80ae1158ede400d03d64619cbe82d247c26d38
parenteaad8a38653da750d5d299c25426a1d795b56131
[BUGFIX] Check for incompatible SQL modes

If the SQL mode "STRICT_ALL_TABLES" is enabled you
will not be able to save most records. (Enable it in
your my.cnf and try to save a tt_content record)

This patch adds a check in the install tool for the
incompatible SQL modes "STRICT_ALL_TABLES" and
"NO_BACKSLASH_ESCAPES".

The automatic fix for "NO_BACKSLASH_ESCAPES" has been
removed because we don't want to change the mysql
environment automatically.

Resolves: #20052
Resolves: #18866
Resolves: #18821
Releases: 6.2, 6.1, 6.0
Change-Id: Ifd2d7901935f06534a273374bf48266916e23698
Reviewed-on: https://review.typo3.org/23237
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/install/Classes/SystemEnvironment/Check.php