From bb5b976ac37b40b9f0dcb764a224c0ec7b6e7633 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Sat, 20 Aug 2016 17:26:39 +0200 Subject: [PATCH] grammar: Jump over column definitions after parsing them --- src/sqlitetypes.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sqlitetypes.cpp b/src/sqlitetypes.cpp index 86672c7b..a2618335 100644 --- a/src/sqlitetypes.cpp +++ b/src/sqlitetypes.cpp @@ -432,6 +432,9 @@ Table CreateTableWalker::table() parsecolumn(tab, column->getFirstChild()); column = column->getNextSibling(); //COMMA or RPAREN column = column->getNextSibling(); //null or tableconstraint + + s = s->getNextSibling(); // COLUMNDEF + s = s->getNextSibling(); // COMMA or RPAREN } // now we are finished or it is a tableconstraint