This release fixes two faults of the driver databend of v0.6.0, which usql found and measured. No other driver changes.
What changes for a caller
- Databend. A connection keeps its session for as long as it lives, so
USEandSETstay in effect whendatabase/sqlhands the connection to the next statement, as a pooled connection of MySQL does. Inv0.6.0, the driver reset the session each time the connection went back to the pool, so a caller that runs each statement through*sql.DB, asusqldoes, lost aUSEat once. The driver no longer implementsdriver.SessionResetter(D126). A caller who wants the session of the DSN again opens a new connection. - Databend. After a transaction fails on the server,
CommitandRollbacknow send theROLLBACKthat ends it. Inv0.6.0, the driver refused its ownROLLBACK, and the server kept the transaction aborted until the connection closed.
Other changes
- TDengine gets no driver here. Its REST interface ends a result that failed as valid JSON with
code0, so a driver cannot tell a cut result from a whole one (D127).docs/TDENGINE.mdholds the measurements. Apache Pinot is the next target.