Skip to content

Commit

Permalink
Update server/command.go
Browse files Browse the repository at this point in the history
Co-authored-by: lance6716 <[email protected]>
  • Loading branch information
dveeden and lance6716 authored Oct 28, 2024
1 parent 5adab81 commit a05e395
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,14 @@ func (h EmptyHandler) HandleQuery(query string) (*Result, error) {
}, false)
if err != nil {
return nil, err
} else {
return &mysql.Result{
Status: 0,
Warnings: 0,
InsertId: 0,
AffectedRows: 0,
Resultset: r,
}, nil
}
return &mysql.Result{
Status: 0,
Warnings: 0,
InsertId: 0,
AffectedRows: 0,
Resultset: r,
}, nil
}

return nil, fmt.Errorf("not supported now")
Expand Down

0 comments on commit a05e395

Please sign in to comment.