]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH] lib-sql: sql-api - Implement async calls for drivers that can't
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 6 Oct 2025 09:39:50 +0000 (12:39 +0300)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commit88533eb244aa84fcb9ce68753d4b62a52e8d0abf
tree2d18219bf279380fb278f6c9acf87b865c262bd7
parent361c9d3c790ade51499924ff127123e8d0204d91
[PATCH] lib-sql: sql-api - Implement async calls for drivers that can't

Changes the behaviour of asynchronous functions to be truly asynchronous
even if the underlying driver isn't capable of doing this. Implemented
by adding immediate timeouts to call the callbacks after returning from the
synchronous function and ending up back to ioloop.

Gbp-Pq: Name 0001-lib-sql-sql-api-Implement-async-calls-for-drivers-th.patch
src/lib-sql/sql-api-private.h
src/lib-sql/sql-api.c
src/lib-sql/sql-api.h