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
b9112085
Commit
b9112085
authored
5 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Added comments.
parent
eade302f
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
make_db
+1
-1
1 addition, 1 deletion
make_db
patches/applyPatches.sh
+2
-0
2 additions, 0 deletions
patches/applyPatches.sh
with
3 additions
and
1 deletion
make_db
+
1
−
1
View file @
b9112085
...
...
@@ -198,7 +198,7 @@ function drop() {
# Returns 0 or non-zero, depending on whether the database exists already.
# Optional parameter: [DATABASE_NAME]
# Optional parameter: [DATABASE_NAME]
, else $DATABASE_NAME is used.
function
_db_exists
()
{
$SQL
-D
"
${
1
-
${
DATABASE_NAME
}}
"
-e
"show tables;"
>
/dev/null 2>&1
\
&&
return
0
||
return
1
...
...
This diff is collapsed.
Click to expand it.
patches/applyPatches.sh
+
2
−
0
View file @
b9112085
...
...
@@ -5,6 +5,8 @@
#
# Copyright (C) 2018 Research Group Biomedical Physics,
# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
# Copyright (C) 2020 Timm Fitschen <t.fitschen@indiscale.com>
# Copyright (C) 2020 IndiScale <info@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
...
...
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