Home | History | Annotate | Download | only in sql

Lines Matching full:errorf

86 			t.Errorf("Error closing fakeConn: %v", err)
96 t.Errorf("while closing db, freeConn %d/%d had %d open stmts; want 0", i, len(db.freeConn), n)
196 t.Errorf("mismatch.\n got: %#v\nwant: %#v", got, want)
205 t.Errorf("executed %d Prepare statements; want 1", prepares)
236 t.Errorf("mismatch.\n got: %#v\nwant: %#v", got, want)
259 t.Errorf("got %#v; want %#v", cols, want)
262 t.Errorf("error closing rows: %s", err)
275 t.Errorf("expected error from wrong number of arguments; actually got: %v", err)
280 t.Errorf("chris birthday = %v, err = %v; want %v", birthday, err, chrisBirthday)
288 t.Errorf("expected name Bob, got %q", name)
291 t.Errorf("expected age 2, got %d", age)
299 t.Errorf("expected name Alice, got %q", name)
302 t.Errorf("expected age 1, got %d", age)
312 t.Errorf("photo = %q; want %q", photo, want)
330 t.Errorf("expected error from QueryRow.Scan after Stmt.Close")
352 t.Errorf("%d: on %q, QueryRow/Scan: %v", n, tt.name, err)
354 t.Errorf("%d: age=%d, want %d", n, age, tt.want)
376 err = fmt.Errorf("unexpected age %d", age)
398 t.Errorf("unexpected error: %v", err)
408 t.Errorf("Stmt, err = %v, %v", stmt, err)
438 t.Errorf("stmt.Execute #%d: for %v, got error %q, want error %q",
667 t.Errorf("id 10's name = nil; want bob")
669 t.Errorf("id 10's name = %q; want bob", *name)
677 t.Errorf("id 20 = %q; want nil", *name)
695 t.Errorf("statement close mismatch: made %d, closed %d", made, closed)
708 return fmt.Errorf(want)
713 t.Errorf("error = %q; want %q", err, want)
719 *err = fmt.Errorf(want)
724 t.Errorf("error = %q; want %q", err, want)
804 t.Errorf("exec insert chris: %v", err)
807 t.Errorf("exec insert dave: %v", err)
810 t.Errorf("exec insert eleanor: %v", err)
815 t.Errorf("expected error inserting nil val with prepared statement Exec")
825 // t.Errorf("expected error inserting nil name with Exec")
834 t.Errorf("id=%d Scan: %v", id, err)
838 t.Errorf("id=%d got %#v, want %#v", id, bindValDeref, spec.rows[i].scanNullVal)
851 t.Errorf("error = %q; want %q", err.Error(), want)
877 t.Errorf("opens = %d; want <= 1", opens)
919 t.Errorf("freeConns = %d; want 1", got)
925 t.Errorf("freeConns after set to zero = %d; want 0", got)
934 t.Errorf("freeConns = %d; want 0", got)
945 t.Errorf("Error closing fakeConn: %v", err)
959 t.Errorf("free conns = %d; want %d", g, w)
963 t.Errorf("number of dependencies = %d; expected 0", n)
1006 t.Errorf("free conns = %d; want %d", g, w)
1010 t.Errorf("number of dependencies = %d; expected <= 20", n)
1022 t.Errorf("db connections opened = %d; want <= 10", opens)
1031 t.Errorf("free conns = %d; want %d", g, w)
1035 t.Errorf("number of dependencies = %d; expected <= 10", n)
1042 t.Errorf("free conns = %d; want %d", g, w)
1046 t.Errorf("number of dependencies = %d; expected 0", n)
1053 t.Errorf("free conns = %d; want %d", g, w)
1057 t.Errorf("number of dependencies = %d; expected 0", n)
1064 t.Errorf("free conns = %d; want %d", g, w)
1068 t.Errorf("number of dependencies = %d; expected 0", n)
1079 t.Errorf("Error closing fakeConn: %v", err)
1104 t.Errorf("free conns = %d; want %d", g, w)
1109 t.Errorf("free conns = %d; want %d", g, w)
1115 t.Errorf("free conns = %d; want %d", g, w)
1120 t.Errorf("free conns = %d; want %d", g, w)
1151 t.Errorf("stats.OpenConnections = %d; want 1", got)
1163 t.Errorf("stats.OpenConnections = %d; want 0", got)
1175 t.Errorf("Error closing fakeConn: %v", err)
1221 t.Errorf("free conns = %d; want %d", g, w)
1225 t.Errorf("number of dependencies = %d; expected <= 4", n)
1239 t.Errorf("db connections opened = %d; want <= 2", openDelta)
1244 t.Errorf("len(stmt.css) = %d; want <= %d", len(stmt.css), nquery)
1252 t.Errorf("free conns = %d; want %d", g, w)
1256 t.Errorf("number of dependencies = %d; expected <= 2", n)
1263 t.Errorf("free conns = %d; want %d", g, w)
1267 t.Errorf("number of dependencies = %d; expected 0", n)
1280 t.Errorf("Error closing fakeConn: %v; from %s", err, stack())
1282 t.Errorf("DB = %#v", db)
1296 t.Errorf("conn shouldn't be closed")
1300 t.Errorf("driverConn num openStmt = %d; want 1", n)
1304 t.Errorf("db Close = %v", err)
1307 t.Errorf("after db.Close, driverConn should be closed")
1310 t.Errorf("driverConn num openStmt = %d; want 0", n)
1315 t.Errorf("Stmt close = %v", err)
1319 t.Errorf("conn should be closed")
1322 t.Errorf("after Stmt Close, driverConn's Conn interface should be nil")
1364 t.Errorf("got %d rows, want %d", got, want)
1367 t.Errorf("got error %v, want %v", err, fail)
1370 t.Errorf("r.closed is false, want true")
1482 t.Errorf(name+": %v", err)
1492 t.Errorf(name+": leaked %d connection(s)!", db.numOpen-numOpen)
1645 t.Errorf("error on query: %v", err)
1682 t.Errorf("error on exec: %v", err)
1789 t.Errorf("error on query: %v", err)
1835 t.Errorf("error on exec: %v", err)
1937 t.Errorf("len(css slice) = %d; want <= 1", n)
1941 t.Errorf("len(css slice) after Close = %d; want 0", n)
1949 t.Errorf("opens = %d; want >= 9", opens)
1952 t.Errorf("closes = %d; want >= 9", closes)