[BUGFIX] Increase sequence if uid gets forced for PostgreSQL
If a uid gets forcefully set during a insert into the database MySQL will automatically update the auto_increment primary key. Other databases might need post processing, i.e PostgreSQL as it uses a sequence to generate auto increment uids. Sequences do not get transparently updated on inserts. Resolves: #79976 Releases: master, 8.7 Change-Id: I033deb63bf9bc2e072408885a534752573ba4c7c Reviewed-on: https://review.typo3.org/51819 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Andreas Fernandez <typo3@scripting-base.de> Tested-by:
Andreas Fernandez <typo3@scripting-base.de>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 69 additions, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php 0 additions, 4 deletions...Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php
Please register or sign in to comment