[1834] in Moira

home help back first fref pref prev next nref lref last post

containers incremental

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Fri Jul 27 03:29:05 2001

Message-Id: <200107270729.DAA17298@brad-majors.mit.edu>
To: moiradev@MIT.EDU
Date: Fri, 27 Jul 2001 03:29:03 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

	This adds support for running incrementals in response to
changes to the containers table; it's in testing on ttsp currently.

Garry

Index: increment.pc
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/server/increment.pc,v
retrieving revision 2.10
diff -u -r2.10 increment.pc
--- increment.pc	2001/07/08 04:03:52	2.10
+++ increment.pc	2001/07/27 07:07:04
@@ -110,6 +110,13 @@
       dosql(before);
       beforec = 4;
       break;
+    case CONTAINERS_TABLE:
+      sprintf(stmt_buf, "SELECT c.name, c.description, c.location, c.contact, "
+	      "c.acl_type, c.acl_id, c.cnt_id FROM containers c WHERE %s", 
+	      qual);
+      dosql(before);
+      beforec = 7;
+      break;
     case MCMAP_TABLE:
       strcpy(before[0], argv[0]);
       strcpy(before[1], argv[1]);
@@ -242,6 +249,13 @@
 	      "c.clu_id FROM clusters c WHERE %s", qual);
       dosql(after);
       afterc = 4;
+      break;
+    case CONTAINERS_TABLE:
+      sprintf(stmt_buf, "SELECT c.name, c.description, c.location, c.contact, "
+	      "c.acl_type, c.acl_id, c.cnt_id FROM containers c WHERE %s",
+	      qual);
+      dosql(after);
+      afterc = 7;
       break;
     case MCMAP_TABLE:
       strcpy(after[0], argv[0]);

home help back first fref pref prev next nref lref last post