Repository navigation
Added:
ConnandStmtimplementdriver.NamedValueChecker(CheckNamedValue), delegating to the wrapped driver #59
Fixed:
Composeno longer panics inOnErrorwhen the driver returns an uncomparable error type such asmssql.Error#56- Wrapped connections and statements now delegate
driver.NamedValueCheckerto the underlying driver, so driver-specific argument conversion keeps working (e.g. go-sql-driver/mysql acceptinguint64values with the high bit set) #59
Changed:
Composenow matchesOnErrorhook errors against the original cause witherrors.Is. A hook error that wraps the cause (e.g.fmt.Errorf("...: %w", err)) is no longer returned; the original cause is.- Removed the
go1.10build tags;driver.SessionResettersupport is now unconditional (the module already requires Go 1.13).