diff --git a/patches/patch20150715-0/patch.sh b/patches/patch20150715-0/patch.sh index 4941c817bb0b36d6c4c51fe40f0534666b9ee346..b578716a7e5d7f32ea56a6f4ec20a0075564bd4b 100755 --- a/patches/patch20150715-0/patch.sh +++ b/patches/patch20150715-0/patch.sh @@ -24,14 +24,19 @@ # this patch introduces the mysql stored funtion 'CaosDBVersion' with a initial value of 2.0.0 # Update mysql schema to version v2.0.0 +echo "HERE 5a" if [ -z "$UTILSPATH" ]; then UTILSPATH="../utils" fi +echo "HERE 5b" +echo "HERE 5c" . $UTILSPATH/patch_header.sh +echo "HERE 5d" if test ! $(mysql_execute "Select CaosDBVersion();" > /dev/null) ; then uptodate fi +echo "HERE 5e" # install function CaosDBVersion() mysql_execute "CREATE FUNCTION CaosDBVersion() RETURNS VARCHAR(255) DETERMINISTIC RETURN 'v2.0.0';"