Skip to content

Commit

Permalink
Merge pull request #1187 from actiontech/issue_1180
Browse files Browse the repository at this point in the history
issue 1180
  • Loading branch information
taolx0 authored Dec 9, 2022
2 parents aed676f + 539e052 commit 5cb9c21
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sqle/server/sqled.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ outerLoop:
}
}

case driver.SQLTypeDDL:
default:
if len(txSQLs) > 0 {
if err = a.execSQLs(txSQLs); err != nil {
break outerLoop
Expand All @@ -329,10 +329,6 @@ outerLoop:
if err = a.execSQL(executeSQL); err != nil {
break outerLoop
}

default:
err = fmt.Errorf("unknown SQL type %v", nodes[0].Type)
break outerLoop
}
}

Expand Down

0 comments on commit 5cb9c21

Please sign in to comment.