Fixes from develop experimental (on top of 1.11.2) (#3017)

* MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11.

* Construct MongoDB::Cursor from aggragation cursor.

* Added function to get OS-specific numerical thread ID and %J pattern to use numerical OS thread id in pattern formatter.

Co-authored-by: Tomaz Beltram <tomaz.beltram@topit.si>
This commit is contained in:
Matej Kenda
2022-05-19 00:23:16 +02:00
committed by GitHub
parent 5bac3e303f
commit 8a8c23c352
19 changed files with 102 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ class Foundation_API PatternFormatter: public Formatter
/// * %P - message process identifier
/// * %T - message thread name
/// * %I - message thread identifier (numeric)
/// * %J - message thread OS identifier (numeric)
/// * %N - node or host name
/// * %U - message source file path (empty string if not set)
/// * %O - message source file filename (empty string if not set)