mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#1920] Fix in PgSQL tests
Suggested in review to make it consistent with MySQL test.
This commit is contained in:
@@ -553,6 +553,7 @@ pgsql_upgrade_schema_to_version() {
|
||||
|
||||
for script in "${db_scripts_dir}"/pgsql/upgrade*.sh
|
||||
do
|
||||
version=$(pgsql_version)
|
||||
if [ "${version}" = "${target_version}" ]
|
||||
then
|
||||
break
|
||||
@@ -560,8 +561,6 @@ pgsql_upgrade_schema_to_version() {
|
||||
|
||||
echo "Processing $script file..."
|
||||
"${script}" -U "${db_user}" -d "${db_name}"
|
||||
|
||||
version=$(pgsql_version)
|
||||
done
|
||||
|
||||
echo "Schema upgraded to $version"
|
||||
|
Reference in New Issue
Block a user