|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 2/7] mg-schema-test-database: Be slightly more defensive
Signed-off-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
---
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |