Commit 1b88507d authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira

Merge branch 'issue/15' into 'master'

Issue #14: Fix named pipe on create task

See merge request !19
parents fff74137 78d3c885
Pipeline #21060 passed with stage
in 1 minute and 4 seconds
......@@ -29,6 +29,8 @@ createDB() {
"$tmpWS/commit.sql"\
> "$tmpWS/trans.fifo"
tail -n20 "$tmpWS/trans.fifo"
# Performs schema creation. As is in a transaction if fails it will
# NOT leave the database inconsistent.
execFile $tmpWS/trans.fifo $tmpWS/error.out
......
......@@ -2,9 +2,7 @@
# Creates a temporary workspace directory
createTmpWorkspace() {
tmpWS='/tmp/psql-manager'
mkdir -p $tmpWS
echo $tmpWS
mktemp -d
}
# Check if the environment vars are set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment