Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jorge Muñoz
ISPConfig 3
Commits
8db67778
Commit
8db67778
authored
Jan 20, 2022
by
Jorge Munoz
Browse files
Merge branch 'single-transation-in-mysqldump'
parents
bfadec00
f2c94894
Pipeline
#10305
passed with stage
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/backup.inc.php
View file @
8db67778
...
...
@@ -1738,7 +1738,7 @@ class backup
//* Check mysqldump capabilities
exec
(
'mysqldump --help'
,
$tmp
);
$mysqldump_extra_params
=
(
strpos
(
implode
(
$tmp
),
'--routines'
)
!==
false
)
?
'--routines'
:
''
;
$mysqldump_extra_params
.
=
(
strpos
(
implode
(
$tmp
),
'--single-transacion'
)
!==
false
)
?
' --single-transaction'
:
''
;
$mysqldump_extra_params
.
=
(
strpos
(
implode
(
$tmp
),
'--single-transac
t
ion'
)
!==
false
)
?
' --single-transaction'
:
''
;
unset
(
$tmp
);
foreach
(
$records
as
$rec
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment