Issue #14: Fix named pipe on create task

Signed-off-by: Lucas Fernandes de Oliveira's avatarLucas Fernandes de Oliveira <>
parent 98fca296
Pipeline #21056 passed with stage
in 1 minute and 1 second
......@@ -21,14 +21,13 @@ createDB() {
# Create transactions files
beginTrans > "$tmpWS/begin.sql"
commitTrans > "$tmpWS/commit.sql"
mkfifo "$tmpWS/trans.fifo"
touch $tmpWS/error.out
# Concats the transaction and schema files
cat "$tmpWS/begin.sql"\
> "$tmpWS/trans.fifo" &
> "$tmpWS/trans.fifo"
# Performs schema creation. As is in a transaction if fails it will
# NOT leave the database inconsistent.
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