]> granicus.if.org Git - postgis/commitdiff
Count objects in the _regress_ database, not elsewhere (#1397)
authorSandro Santilli <strk@keybit.net>
Thu, 22 Dec 2011 11:19:56 +0000 (11:19 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 22 Dec 2011 11:19:56 +0000 (11:19 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8507 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index 17eb4797581d56b30ab97d33592c14a037b5941f..74d6cac81156cdbdc9003a36addd2d01c3862489 100755 (executable)
@@ -447,7 +447,7 @@ count_db_objects ()
                select count(*) from pg_operator union all
                select count(*) from pg_opclass union all
                select count(*) from pg_opfamily ) 
-               select sum(count) from counts;"
+               select sum(count) from counts;" "${DB}"
        if [ $? -gt 0 ]; then
                init_db_error $1
        fi