From e1bd08082bdec9c87663f8904ce4fd7d7a27fa8f Mon Sep 17 00:00:00 2001 From: kostas Date: Wed, 26 Sep 1990 09:23:03 +0000 Subject: [PATCH] changes to reflect the sql create commands. --- db/db2tbls_sql.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db2tbls_sql.awk b/db/db2tbls_sql.awk index 7e072a0c..0a647bb9 100644 --- a/db/db2tbls_sql.awk +++ b/db/db2tbls_sql.awk @@ -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 "};"; } -- 2.45.1