Update parser.go
This commit is contained in:
parent
90245c098c
commit
aeebaa9ad4
@ -152,9 +152,7 @@ func (this *AlterTableParser) ParseAlterStatement(alterStatement string) (err er
|
||||
}
|
||||
for _, alterToken := range this.tokenizeAlterStatement(this.alterStatementOptions) {
|
||||
alterToken = this.sanitizeQuotesFromAlterStatement(alterToken)
|
||||
if err = this.parseAlterToken(alterToken); err != nil {
|
||||
return err
|
||||
}
|
||||
this.parseAlterToken(alterToken)
|
||||
this.alterTokens = append(this.alterTokens, alterToken)
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user