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) {
|
for _, alterToken := range this.tokenizeAlterStatement(this.alterStatementOptions) {
|
||||||
alterToken = this.sanitizeQuotesFromAlterStatement(alterToken)
|
alterToken = this.sanitizeQuotesFromAlterStatement(alterToken)
|
||||||
if err = this.parseAlterToken(alterToken); err != nil {
|
this.parseAlterToken(alterToken)
|
||||||
return err
|
|
||||||
}
|
|
||||||
this.alterTokens = append(this.alterTokens, alterToken)
|
this.alterTokens = append(this.alterTokens, alterToken)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user