Signed-off-by: Ian Jackson <i...@xenproject.org> --- mg-schema-test-database | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mg-schema-test-database b/mg-schema-test-database index e69b9881..b49fbecf 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -381,7 +381,8 @@ END print "sequences+=\" $1\"\n"; } elsif (m/^CREATE TABLE (\w+)/) { $table=$1; - } elsif (m/^\s*flight\s+integer/) { + } elsif (m/^\s*flight\s+integer\s/) { + die unless $table; print "ftables+=\" $table\"\n"; } elsif ($table && m/^\)\;$/) { print "tables+=\" $table\"\n"; -- 2.20.1