Review TYPO3_4-5 Merged

21408[BUGFIX] Insert rows only once in exec_INSERTmultipleRows

Stefan Neufeind CR +2 V +2 Easy +8 −8 updated 06/22/13, 23:19

Commit message

For native handler types multiple rows can be inserted using the mysql
INSERTmultipleRows API call. When another handler was used, the operation
was done twice, due to a missing else after the native handler condition.
This resulted in two database records for every INSERT statement.

The patch adds the missing else branch for the condition, preventing
the second run that was only meant to handle non-native handler types.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1