From df4bbe5582d7e1de37c0bd97858ac253bc07f81e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Sep 2023 09:04:53 +0200 Subject: Document that database::query_factory() is not thread-safe --- doc/manual.xhtml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/manual.xhtml') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index fde0a54..a308758 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -5777,6 +5777,11 @@ db.query_factory ( }); + Note that the database::query_factory() function is not + thread-safe and should be called before starting any threads that may + require this functionality. Normally, all the prepared query factories + are registered as part of the database instance creation. +
-- cgit v1.1