Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-mysqlbackend
Commits
f84e6d98
Commit
f84e6d98
authored
5 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: there were MYSQLDUMP_CMD and CMD_MYSQL_DUMP; remove one
parent
b2da1f54
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backup.sh
+1
-1
1 addition, 1 deletion
backup.sh
patches/utils/patch_header.sh
+1
-2
1 addition, 2 deletions
patches/utils/patch_header.sh
with
2 additions
and
3 deletions
backup.sh
+
1
−
1
View file @
f84e6d98
...
...
@@ -46,7 +46,7 @@ function backup {
failure
"dumpfile already exists."
fi
echo
"Dumping database
$NARG_NAME
to
$NARG_FILE
... "
$
CMD_
MYSQL
_
DUMP
$MYSQL_CONNECTION_NO_DB
$*
--opt
--default-character-set
=
utf8
--routines
$NARG_NAME
>
$NARG_FILE
$MYSQLDUMP
_CMD
$MYSQL_CONNECTION_NO_DB
$*
--opt
--default-character-set
=
utf8
--routines
$NARG_NAME
>
$NARG_FILE
success
}
...
...
This diff is collapsed.
Click to expand it.
patches/utils/patch_header.sh
+
1
−
2
View file @
f84e6d98
...
...
@@ -22,7 +22,6 @@
# ** end header
#
#header for patch scripts
CMD_MYSQL_DUMP
=
mysqldump
USAGE
=
"
$1
[ --env=ENV_FILE ] [ --patch=PATCH ] [ --backupdir=BACKUPDIR ]
\n\n
"
CMD_OPTIONS
=
cat
<<
EOF
options:
...
...
@@ -160,7 +159,7 @@ function update_version {
}
function
dump_table
{
$
CMD_
MYSQL
_
DUMP
$MYSQL_CONNECTION_NO_DB
$DATABASE_NAME
$1
\
$MYSQLDUMP
_CMD
$MYSQL_CONNECTION_NO_DB
$DATABASE_NAME
$1
\
>
${
DATABASE_NAME
}
.
${
1
}
.
${
OLD_VERSION
}
.dump.sql
}
...
...
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