typo in upgrade scripts
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 31 Jan 2009 17:10:37 +0000 (17:10 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 31 Jan 2009 17:10:37 +0000 (17:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@12021 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql

index 65583a3..00b16c8 100644 (file)
@@ -1508,7 +1508,7 @@ BEGIN
           WHERE usr = match_user
                 AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
                 AND checkin_time IS NULL
-                AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL)
+                AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL);
                IF items_out >= circ_test.max_items_out THEN
                        result.fail_part := 'config.circ_matrix_test.max_items_out';
                        result.success := FALSE;
@@ -1543,7 +1543,7 @@ BEGIN
                        AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
                        AND checkin_time IS NULL
                        AND due_date < NOW()
-                        AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL)
+                        AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL);
                IF items_overdue >= circ_test.max_overdue THEN
                        result.fail_part := 'config.circ_matrix_test.max_overdue';
                        result.success := FALSE;
index 276c7c4..95e4ccf 100644 (file)
@@ -1507,7 +1507,7 @@ BEGIN
           WHERE usr = match_user
                 AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
                 AND checkin_time IS NULL
-                AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL)
+                AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL);
                IF items_out >= circ_test.max_items_out THEN
                        result.fail_part := 'config.circ_matrix_test.max_items_out';
                        result.success := FALSE;
@@ -1542,7 +1542,7 @@ BEGIN
                        AND (circ_test.org_depth IS NULL OR (circ_test.org_depth IS NOT NULL AND circ_lib IN ( SELECT * FROM explode_array(overdue_orgs) )))
                        AND checkin_time IS NULL
                        AND due_date < NOW()
-                        AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL)
+                        AND (stop_fines IN ('MAXFINES','LONGOVERDUE') OR stop_fines IS NULL);
                IF items_overdue >= circ_test.max_overdue THEN
                        result.fail_part := 'config.circ_matrix_test.max_overdue';
                        result.success := FALSE;