[BUGFIX] Integrity test fails 47/19447/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 30 Mar 2013 13:13:39 +0000 (14:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 30 Mar 2013 13:26:02 +0000 (14:26 +0100)
commit3e309294309458279eef2adf08af6adb8ed4a867
treef9accfd820e13ac0e258697a301c51bfb9cc8812
parent75d6db0dc5bc251e9676aa06e8b7c501a429931e
[BUGFIX] Integrity test fails

The integerity test checks if TYPO3_DB is a resource. After switch to
mysqli, this is now an object and thus reflected with the patch now.
At the same time, the $link property - while it changed its type - is
now made protected, and a getter / setter is added.

Change-Id: I5ecdcc27f628352a26a51fc28d5a9d7be5e16315
Resolves: #46805
Related: #36419
Releases: 6.1
Reviewed-on: https://review.typo3.org/19447
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Tests/Integrity/IntegrityTest.php
typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php
typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php
typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseTest.php