mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Fix "WARNING: there is no transaction in progress"
(imported from commit e8a985b610990a4e937a527e85189e927c42667c)
This commit is contained in:
parent
991630c031
commit
65c156decc
@ -14,7 +14,6 @@ if [ $template_grep_error_code == "0" ]; then
|
||||
psql -h localhost postgres humbug_test << EOF
|
||||
DROP DATABASE humbug_test;
|
||||
CREATE DATABASE humbug_test TEMPLATE humbug_test_template;
|
||||
COMMIT;
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
@ -45,5 +44,4 @@ python manage.py dumpdata --settings=humbug.test_settings \
|
||||
psql -h localhost postgres humbug_test << EOF
|
||||
DROP DATABASE humbug_test_template;
|
||||
CREATE DATABASE humbug_test_template TEMPLATE humbug_test;
|
||||
COMMIT;
|
||||
EOF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user