fix: connect() orphan (lockstep psql-3) + await pool.release() (mysql-1)
- connect() closes an existing pool on re-connect and tears down the built pool on SELECT-1 validation failure (sibling of psql-3). - _Transaction now awaits pool.release() in both __aexit__ and the __aenter__ failure path, matching psql and aiomysql's idiom (no un-awaited _wakeup task per transaction). - README: insert-returns-lastrowid headline precision + upsert-rowcount convention note. verified vs real MariaDB (re-connect, 5-tx release, full suite). bump v0.1.1 -> v0.1.2 Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "mysql"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
description = "async mysql/mariadb wrapper over aiomysql: two-layer API (friendly verbs + raw escape hatch), fail-loud, config-free"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user