summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-09-22 09:04:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-09-22 09:04:53 +0200
commitdf4bbe5582d7e1de37c0bd97858ac253bc07f81e (patch)
tree1e93676c7a79ea22db1e7fc9f30ba24fe49fd326 /doc
parentdc466fcb04c0c9a5510676b3e896ed7b590e8842 (diff)
Document that database::query_factory() is not thread-safe
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.xhtml5
1 files changed, 5 insertions, 0 deletions
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 (
});
</pre>
+ Note that the <code>database::query_factory()</code> 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.
+
<!-- CHAPTER -->
<hr class="page-break"/>