Skip to content

Commit

Permalink
Merge branch 'fix-mysqldump' into 4.x
Browse files Browse the repository at this point in the history
Resolves #15854
  • Loading branch information
brandonkelly committed Oct 8, 2024
2 parents 423cafe + a11d5fb commit 512c2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Fixed an error that could occur if a native element property was attempted to be eager-loaded. ([#15822](https://github.com/craftcms/cms/issues/15822))
- Fixed errors that could occur if a custom source or field condition referenced a custom field whose type had changed. ([#15850](https://github.com/craftcms/cms/issues/15850))
- Fixed a bug where disclosure menus weren’t sticking to their trigger element as it was scrolled, if it was within a slideout or other inline-scrollable container. ([#15852](https://github.com/craftcms/cms/issues/15852))
- Fixed a bug where the default backup command for MySQL was exporting triggers twice. ([#15854](https://github.com/craftcms/cms/pull/15854))
- Fixed a missing authorization vulnerability.

## 4.12.5 - 2024-09-27
Expand Down
1 change: 1 addition & 0 deletions src/db/mysql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public function getDefaultBackupCommand(?array $ignoreTables = null): string

$schemaDump = (clone $baseCommand)
->addArg('--no-data')
->addArg('--skip-triggers')
->addArg('--result-file=', '{file}')
->addArg('{database}');

Expand Down

0 comments on commit 512c2ec

Please sign in to comment.