Enable use of SQL DEFINE/REMOVE in transactions

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-10 09:46:49 +00:00
parent 2a35485089
commit 7d88c389e1
2 changed files with 0 additions and 8 deletions

View file

@ -16,10 +16,6 @@ package sql
func (p *parser) parseDefineStatement() (Statement, error) {
if p.buf.txn {
return nil, &TXError{}
}
// Inspect the next token.
tok, _, err := p.shouldBe(NAMESPACE, DATABASE, LOGIN, TOKEN, SCOPE, TABLE, FIELD, INDEX, VIEW)

View file

@ -16,10 +16,6 @@ package sql
func (p *parser) parseRemoveStatement() (Statement, error) {
if p.buf.txn {
return nil, &TXError{}
}
// Inspect the next token.
tok, _, err := p.shouldBe(NAMESPACE, DATABASE, LOGIN, TOKEN, SCOPE, TABLE, FIELD, INDEX, VIEW)