[TASK][CONF] Accept other settings in [SYS][setDBinit] 69/15369/21
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Tue, 14 Jan 2014 17:12:10 +0000 (18:12 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Wed, 15 Jan 2014 13:10:08 +0000 (14:10 +0100)
commit9c905d15d15e240035e0942ebbffd3f295d2eef5
tree966d02b4aa80a58897ddf0ff86be7c73c95130a5
parent473870867903692dc4a35ad6945907bceb2cdef8
[TASK][CONF] Accept other settings in [SYS][setDBinit]

Since the mysqli interface recommends setting the charset using the
mysqli API the utf8 charset will be initialized when establishing the
database connection using mysqli_set_charset().

Additionally [SYS][setDBinit] can now be set to any value or can totally
be removed. To make sure the database connection still uses the correct
encoding an additional check is added to the database connection process
that checks the MySQL character set session variables.

Finally the old default value of [SYS][setDBinit] will automatically be
removed if it is set to the old default value.

Resolves: #41596
Releases: 6.2
Change-Id: I8d0a9eba50495d52accb59627147c1c87b6a9bb5
Reviewed-on: https://review.typo3.org/15369
Reviewed-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/FactoryConfiguration.php
typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php