* Disable PaX MPROTECT for bin/mongo Changelog: 3.4.4 – Apr 21, 2017 Issues fixed: SERVER-18794: Add an aggregation operator $objectToArray to convert an object to an array of key, value pairs. SERVER-23310: Add an aggregation operator $arrayToObject to convert an array of pairs to an object. SERVER-22611: ChunkManager refresh can occasionally cause a full reload. 3.4.4 Changelog All JIRA issues closed in 3.4.4 3.4.3 – Mar 28, 2017 Issues fixed: SERVER-27863: Reschedule firing of early alarms in NetworkInterfaceASIO to avoid mongos crash. SERVER-28017: $ne should respect collection’s default collation. SERVER-27700: Improve WiredTiger performance on secondary when cache is full. 3.4.3 Changelog All JIRA issues closed in 3.4.3 3.4.2 – Feb 1, 2017 Issues fixed: SERVER-27125: Arbiters in pv1 should vote no in elections if they can see a healthy primary of equal or greater priority to the candidate. SERVER-27584 Add support for filter to listDatabases WT-2670 Inefficient I/O when read full DB (poor readahead) 3.4.2 Changelog All JIRA issues closed in 3.4.2 3.4.1 – Dec 20, 2016 Issues fixed: SERVER-27124: Disallow readConcern: majority reads on replica set protocolVersion 0 (pv0). SERVER-27201: $graphLookup triggers null pointer dereference. SERVER-27207: Find operation with a sort on a view via mongos may incorrectly return empty result set. SERVER-27213: Two $match pipeline stages can combine incorrectly to produce incorrect results. 3.4.1 Changelog All JIRA issues closed in 3.4.1
24 lines
662 B
C
24 lines
662 B
C
$NetBSD: patch-src_mongo_db_repl_isself.c,v 1.4 2017/05/29 14:44:47 ryoon Exp $
|
|
|
|
* Add NetBSD support.
|
|
|
|
--- src/mongo/db/repl/isself.cpp.orig 2017-04-20 21:43:42.000000000 +0000
|
|
+++ src/mongo/db/repl/isself.cpp
|
|
@@ -50,7 +50,7 @@
|
|
#include "mongo/util/scopeguard.h"
|
|
|
|
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) || \
|
|
- defined(__OpenBSD__)
|
|
+ defined(__OpenBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
|
|
#define FASTPATH_UNIX 1
|
|
#endif
|
|
|
|
@@ -63,7 +63,7 @@
|
|
#include <ifaddrs.h>
|
|
#include <netdb.h>
|
|
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
#include <netinet/in.h>
|
|
#endif
|
|
|