Skip to content
Snippets Groups Projects
Verified Commit 0670933f authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 8806be60
Branches
Tags
No related merge requests found
...@@ -24,14 +24,19 @@ ...@@ -24,14 +24,19 @@
# this patch introduces the mysql stored funtion 'CaosDBVersion' with a initial value of 2.0.0 # this patch introduces the mysql stored funtion 'CaosDBVersion' with a initial value of 2.0.0
# Update mysql schema to version v2.0.0 # Update mysql schema to version v2.0.0
echo "HERE 5a"
if [ -z "$UTILSPATH" ]; then if [ -z "$UTILSPATH" ]; then
UTILSPATH="../utils" UTILSPATH="../utils"
fi fi
echo "HERE 5b"
echo "HERE 5c"
. $UTILSPATH/patch_header.sh . $UTILSPATH/patch_header.sh
echo "HERE 5d"
if test ! $(mysql_execute "Select CaosDBVersion();" > /dev/null) ; then if test ! $(mysql_execute "Select CaosDBVersion();" > /dev/null) ; then
uptodate uptodate
fi fi
echo "HERE 5e"
# install function CaosDBVersion() # install function CaosDBVersion()
mysql_execute "CREATE FUNCTION CaosDBVersion() RETURNS VARCHAR(255) DETERMINISTIC RETURN 'v2.0.0';" mysql_execute "CREATE FUNCTION CaosDBVersion() RETURNS VARCHAR(255) DETERMINISTIC RETURN 'v2.0.0';"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment