thinko when trying to preserve any user change to the internal_flag version of the...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Jun 2010 15:25:07 +0000 (15:25 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Jun 2010 15:25:07 +0000 (15:25 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16820 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/upgrade/0319.schema.authority-update-propogation.sql

index 735f870..bf82199 100644 (file)
@@ -13,7 +13,7 @@ INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
             'label'
         )
     );
-UPDATE config.global_flag SET enabled = (SELECT enabled FROM config.internal_flag WHERE name = 'ingest.disable_authority_linking');
+UPDATE config.global_flag SET enabled = (SELECT enabled FROM ONLY config.internal_flag WHERE name = 'ingest.disable_authority_linking');
 DELETE FROM config.internal_flag WHERE name = 'ingest.disable_authority_linking';
 
 INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE