Skip to content

Commit

Permalink
Minor change to logic displaying remote database version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Shaw committed Nov 7, 2017
1 parent 598408f commit 034c488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ func (h *Handler) Version() error {

ver, err := drivers.Version(h.u, h.DB())
if err != nil {
return err
ver = fmt.Sprintf("<unknown, error: %v>", err)
}

if ver != "" {
Expand Down Expand Up @@ -761,7 +761,7 @@ func (h *Handler) execExec(w io.Writer, prefix, qstr string, qtyp bool, _ string
}

// execRows
h.execRows(w, q)
err = h.execRows(w, q)
if err != nil {
return err
}
Expand Down

0 comments on commit 034c488

Please sign in to comment.