Enable use of SQL DEFINE/REMOVE in transactions
This commit is contained in:
parent
2a35485089
commit
7d88c389e1
2 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue