Skip to content

Commit

Permalink
insert multi value at once request, throw error msg when any row error
Browse files Browse the repository at this point in the history
…fix: #287 (#313)
  • Loading branch information
Penglq committed Jul 24, 2022
1 parent 6f5a27d commit 82b5341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mysql/execute_handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (l *Listener) handleQuery(c *Conn, ctx *proto.Context) error {
)

if result, warn, err = l.executor.ExecutorComQuery(ctx); err != nil {
log.Errorf("executor com_query error %v: %v", ctx.ConnectionID, err)
log.Errorf("executor com_query error %v: %+v", ctx.ConnectionID, err)
if wErr := c.writeErrorPacketFromError(err); wErr != nil {
log.Errorf("Error writing query error to client %v: %v", ctx.ConnectionID, wErr)
return wErr
Expand Down

0 comments on commit 82b5341

Please sign in to comment.