Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lyz
backupninja
Commits
b0506562
Commit
b0506562
authored
13 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
mysql: use --skip-events when backing up the performance_schema database (Closes: #673572)
parent
d5a65fc0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
AUTHORS
+1
-0
1 addition, 0 deletions
AUTHORS
ChangeLog
+6
-0
6 additions, 0 deletions
ChangeLog
handlers/mysql.in
+9
-4
9 additions, 4 deletions
handlers/mysql.in
with
16 additions
and
4 deletions
AUTHORS
+
1
−
0
View file @
b0506562
...
...
@@ -43,3 +43,4 @@ aihtdikh -- Allow 'when = XXX' with spaces in .sh files.
Chris Lamb <lamby@debian.org> -- rdiff.helper bugfix
Yuval Kogman <nothingmuch@woobling.org> -- RackSpace's CloudFiles support for duplicity
exobuzz - mysql bugfixes
Glennie Vignarajah <glennie@glennie.fr> -- mysql bugfix
This diff is collapsed.
Click to expand it.
ChangeLog
+
6
−
0
View file @
b0506562
version 1.0 -- UNRELEASED
handler changes
mysql:
. Use --skip-events when backing up the performance_schema database.
(Closes: #673572)
version 1.0-rc1 -- May 15, 2012
handler changes
dup:
...
...
This diff is collapsed.
Click to expand it.
handlers/mysql.in
+
9
−
4
View file @
b0506562
...
...
@@ -256,10 +256,15 @@ then
for
db
in
$databases
do
DUMP_BASE
=
"
$MYSQLDUMP
$defaultsfile
$sqldumpoptions
"
if
[
"
$db
"
=
"information_schema"
]
||
[
"
$db
"
=
"performance_schema"
]
then
case
"
$db
"
in
information_schema
)
DUMP_BASE
=
"
${
DUMP_BASE
}
--skip-lock-tables"
fi
;;
performance_schema
)
DUMP_BASE
=
"
${
DUMP_BASE
}
--skip-lock-tables --skip-events"
;;
esac
# Dumping structure and data
DUMP
=
"
$DUMP_BASE
$ignore
$db
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment