Home | History | Annotate | Download | only in sql

Lines Matching refs:lasterr

374 	lastErr     error // lastError captures the result of the session resetter.
424 // resetSession resets the connection session and sets the lastErr
434 dc.lastErr = dc.ci.(driver.SessionResetter).ResetSession(ctx)
1041 // Lock around reading lastErr to ensure the session resetter finished.
1043 err := conn.lastErr
1089 // Lock around reading lastErr to ensure the session resetter finished.
1091 err := ret.conn.lastErr
1214 dc.lastErr = driver.ErrBadConn
2560 // closemu guards lasterr and closed.
2563 lasterr error // non-nil only if closed is true
2622 rs.lasterr = rs.rowsi.Next(rs.lastcols)
2623 if rs.lasterr != nil {
2625 if rs.lasterr != io.EOF {
2677 rs.lasterr = nextResultSet.NextResultSet()
2678 if rs.lasterr != nil {
2690 if rs.lasterr == io.EOF {
2693 return rs.lasterr
2915 if rs.lasterr == nil {
2916 rs.lasterr = err