[BUGFIX] Better performance for bulk inserts without static_write 70/35370/2
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 9 Dec 2014 13:52:26 +0000 (14:52 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 12 Dec 2014 19:31:04 +0000 (20:31 +0100)
commitc1965e2166e580a68d539aa4382f4d3367035d8d
treebd2c623d545f7b1d4307d92e513410c001d79aac
parentc46c4ffa3903834dae3fc30b24e11a5b1b5afa76
[BUGFIX] Better performance for bulk inserts without static_write

In DataHandler->fillInFieldArray for every record to insert or update
current and new data are merged to be handed over to the static_write
functionality. If this functionality is disabled (which is the
default) the merged data is discarded again.

Checks if the static_write functionality is enabled and merges data
only if it is enabled. This drastically lowers memory usage for bulk
operations.

In master, the static_write functionality was removed completely,
for 6.2 the performance of this code section is improved.

Resolves: #63668
Releases: 6.2
Change-Id: I625a771a98a5f79bab3a8d22464895fcbdcf4068
Reviewed-on: http://review.typo3.org/35370
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/DataHandling/DataHandler.php