Commit Graph
4 Commits
Author SHA1 Message Date
dsql a46c4b13fc 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>
v0.1.2
2026-07-01 00:28:27 -04:00
dsql 2372b1ecd1 fix: transaction() releases the pooled connection when begin() fails (lockstep w/ psql-1)
same acquire-then-fail leak as psql: begin() failing after acquire leaked the conn. release
on failure. verified against MariaDB: 6 forced begin-failures no longer drain the pool.
bump v0.1.0 -> v0.1.1

Signed-off-by: disqualifier <dev@disqualifier.me>
v0.1.1
2026-06-30 21:04:43 -04:00
dsql 9034ce32c2 add package: pyproject + src (layer-1 identical to psql, raw layer-2, fail-loud, dict rows)
Signed-off-by: disqualifier <dev@disqualifier.me>
v0.1.0
2026-06-30 20:12:40 -04:00
dsql 9beeee4d9f init: async mysql/mariadb wrapper over aiomysql (two-layer API, class MysqlDB)
Signed-off-by: disqualifier <dev@disqualifier.me>
2026-06-30 20:12:40 -04:00