diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-22 09:04:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-22 09:04:53 +0200 |
commit | df4bbe5582d7e1de37c0bd97858ac253bc07f81e (patch) | |
tree | 1e93676c7a79ea22db1e7fc9f30ba24fe49fd326 | |
parent | dc466fcb04c0c9a5510676b3e896ed7b590e8842 (diff) |
Document that database::query_factory() is not thread-safe
-rw-r--r-- | doc/manual.xhtml | 5 |
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"/> |