Simplify SQL OPTION statement
This commit is contained in:
parent
412ba4fc45
commit
78e4b3d6fa
1 changed files with 3 additions and 3 deletions
|
@ -43,11 +43,11 @@ func (e *executor) executeOpt(ctx context.Context, stm *sql.OptStatement) (out [
|
||||||
}
|
}
|
||||||
|
|
||||||
switch strings.ToUpper(stm.Name) {
|
switch strings.ToUpper(stm.Name) {
|
||||||
case "PROCESS_FIELD_QUERIES":
|
case "FIELD_QUERIES":
|
||||||
e.opts.fields = stm.What
|
e.opts.fields = stm.What
|
||||||
case "TRIGGER_EVENT_QUERIES":
|
case "EVENT_QUERIES":
|
||||||
e.opts.events = stm.What
|
e.opts.events = stm.What
|
||||||
case "TRIGGER_TABLE_QUERIES":
|
case "TABLE_QUERIES":
|
||||||
e.opts.tables = stm.What
|
e.opts.tables = stm.What
|
||||||
case "IMPORT":
|
case "IMPORT":
|
||||||
switch stm.What {
|
switch stm.What {
|
||||||
|
|
Loading…
Reference in a new issue