Releases: blackbeam/rust-mysql-simple
Releases · blackbeam/rust-mysql-simple
v7.1.2
v7.1.1
v7.0.1
v7.0.0
v6.0.0
This release fixes typo in PooledConn::drop()
which leads to huge performance regressions for cases where number of acquired PooledConn
s is greater than pool.min. It also fixes Pool::first_exec
signature (mut
removed) and adds implementation of From<[u8; 0..32]>
for Value
.
Also this release adds a bunch of performance improvements as a result of solving #53:
Column
was rewritten to speedupColumn::from_payload
andColumn::clone()
. It affects performance ofprepare
andprep_exec
in all cases.- Connectivity check was improved. It affects performance of
Pool::prepare
andPool::get_conn
. - TLS slot for pool connection was added. It removes pool overhead in many cases.
- A way to turn off connectivity checks, pool-level stmt cache and TLS slot was added. Turning off connectivity checks may speedup batch jobs in cases when
Pool::get_conn
andPool::prepare
is frequently used. - XXHash now used for stmt cache.
InnerPool
now usingVecDeque
to store connections.
v5.2.2
v5.2.1
v5.2.0
-
first
andfirst_exec
shortcuts added to conveniently get first row of a query -
The lifetime of a pool is now untied from a
QueryResult
inPool::prepare
andPool::prep_exec
so now you can write this without bc errors:pool.prep_exec("SELECT 1", ()).and_then(|result1| { pool.prep_exec("SELECT 2", ()).and_then(|result2| { // ... }) })