]> andersk Git - moira.git/blobdiff - backup/dump_db.qc
After synchronizing with opssrc as it was on 8/4/92.
[moira.git] / backup / dump_db.qc
index 18c5340ccf723d7ec7c067e8db660e13dba1427d..b468ca16d3941e2efb5837c50a9a3c381284952b 100644 (file)
@@ -20,6 +20,7 @@ static char *rcsid_dump_db_c = "$Header$";
 #include <sys/file.h>
 #include <ctype.h>
 #include <mit-copyright.h>
+#include "dump_db.h"
 
 /* putc without the line buffer hair */
 
@@ -46,15 +47,18 @@ main(argc, argv)
 
     bzero(act, 128);
 
-    act[':']=1;
+    act[SEP_CHAR]=1;
     act['\\']=1;
     act[127]=2;
     for (i=0; i<' '; i++) act[i]=2;
     
 ##  ingres sms 
-    
+##  set lockmode session where level = table
+##  begin transaction
+
     do_backups(prefix);
-    
+
+##  end transaction    
 ##  exit
     exit(0);
 }
@@ -99,7 +103,6 @@ dump_str(f, str)
            if (putc1(t,f) < 0) wpunt();
            t = (c&7) + '0';
            if (putc1(t,f) < 0) wpunt();
-           fprintf(stderr, "control character \\%03o\n", c);
            break;
            
        default:
@@ -169,16 +172,3 @@ char *strtrim(save)
     *t = '\0';
     return s;
 }
-
-
-
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
This page took 0.033465 seconds and 4 git commands to generate.