[TASK] Handle some sqlite details
* Similar to postgresql, sqlite index names must be unique within the entire database. The patch adds a hash of the table name in front of indexes to make them unique. * SELECT'ing rows from a table and UPDATE'ing them while the select query is still running is not safe in sqlite, single rows may appear over and over again in the select() result set. The patch switches a query combination to a fetchAll() on sqlite platform to prevent this. Change-Id: Ib35ab4f46bbce7867ff9e4624e545b505c4f5e57 Resolves: #85253 Releases: master Reviewed-on: https://review.typo3.org/57209 Reviewed-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 38 additions, 11 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php 8 additions, 3 deletions...ysext/core/Classes/Database/Schema/ConnectionMigrator.php
- typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php 0 additions, 1 deletion...e/Tests/Functional/Database/Schema/SchemaMigratorTest.php
Please register or sign in to comment