]> andersk Git - moira.git/commitdiff
changes to reflect the sql create commands.
authorkostas <kostas>
Wed, 26 Sep 1990 09:23:03 +0000 (09:23 +0000)
committerkostas <kostas>
Wed, 26 Sep 1990 09:23:03 +0000 (09:23 +0000)
db/db2tbls_sql.awk

index 7e072a0cbf2d7076b324b00c48705884ee1b8cdd..0a647bb9e4247cf53416361ece57cbb0cbe359fa 100644 (file)
@@ -4,12 +4,12 @@
 #      This converts the file used to originally create the database
 #      into a list of tables.
 
-BEGIN { print "/* This file automatically generated */";
+BEGIN { print "/* This file is automatically generated */";
        print "/* Do not edit */";
        print "char *tables[] = {";
 }
 
-/^create/ { printf "   \"%s\",\n", $2; }
+/^CREATE TABLE/ { printf "     \"%s\",\n", $2; }
 
 END   { print "        0,";
        print "};"; }
This page took 0.038678 seconds and 5 git commands to generate.