grammar: Mark named table constraints as unimplemented

This commit is contained in:
Martin Kleusberg
2016-08-20 17:35:55 +02:00
parent bb5b976ac3
commit fe36ac0675

View File

@@ -446,9 +446,13 @@ Table CreateTableWalker::table()
// It's not, so treat this as table constraints
antlr::RefAST tc = s->getFirstChild();
// skip constraint name, if there is any
if(tc->getType() == sqlite3TokenTypes::CONSTRAINT)
{
m_bModifySupported = false;
tc = tc->getNextSibling()->getNextSibling();
}
switch(tc->getType())
{