Skip to content

Commit

Permalink
Added '--single-transaction' option to scripts/backup.pl for MySQL/Ma…
Browse files Browse the repository at this point in the history
…riaDB. The --single-transaction flag will start a transaction before running.
  • Loading branch information
rkaldung authored and dennykorsukewitz committed Aug 22, 2024
1 parent 55c7899 commit 02fc729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 7.1.3 2024-??-??
- 2024-08-22 Added '--single-transaction' option to scripts/backup.pl for MySQL/MariaDB. The --single-transaction flag will start a transaction before running.
- 2024-08-21 Improved CSS for skin 'Dark'. [#584](https://github.com/znuny/Znuny/issues/584)
- 2024-08-21 Sector Nord AG: Fixed overflow of dynamic field groups in AgentTicketZoom process widget. Thanks to Sector Nord AG (@jsinagowitz). [PR#553](https://github.com/znuny/Znuny/pull/553)
- 2024-06-26 Fixed wrong inversion of avatar image when using skin 'Dark'. [#584](https://github.com/znuny/Znuny/issues/584)
Expand Down
2 changes: 1 addition & 1 deletion scripts/backup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
}
if (
!system(
"( $DBDump -u $DatabaseUser $DatabasePw -h $DatabaseHost $Database --no-tablespaces || touch $ErrorIndicationFileName ) | $CompressCMD > $Directory/DatabaseBackup.sql.$CompressEXT"
"( $DBDump -u $DatabaseUser $DatabasePw -h $DatabaseHost $Database --single-transaction --no-tablespaces || touch $ErrorIndicationFileName ) | $CompressCMD > $Directory/DatabaseBackup.sql.$CompressEXT"
)
&& !-f $ErrorIndicationFileName
)
Expand Down

0 comments on commit 02fc729

Please sign in to comment.