7cde356086
* Fix build with boost 1.62.0 * Use fsync(2) instead of fdatasync(2) on NetBSD When fdatasync(2) is used, journaling support does not work on 7.99.39 and 7.0.1 Changelog: MongoDB 3.2.10 is out and is ready for production deployment. This release contains only fixes since 3.2.9, and is a recommended upgrade for all 3.2 users. Fixed in this release: SERVER-12048 Calling "service mongod start" with mongod running prevents "service mongod stop" from working SERVER-16801 Update considers a change in numerical type to be a noop SERVER-20306 75% excess memory usage under WiredTiger during stress test SERVER-24885 The systemd MaxTasks feature can prevent mongod from accepting new connections SERVER-24971 Excessive memory held by sessions when application threads do evictions SERVER-25478 Use wtimeout in sh.setBalancerState SERVER-25951 Report additional metrics in getMore slowms logging SERVER-25974 Application threads stall for extended period when cache fills TOOLS-1429 mongostat panic when monitored server is restarted WT-2026 Maximum pages size at eviction too large WT-2924 Ensure we are doing eviction when threads are waiting for it
15 lines
663 B
C++
15 lines
663 B
C++
$NetBSD: patch-src_mongo_db_fts_unicode_string.cpp,v 1.1 2016/10/10 13:15:40 ryoon Exp $
|
|
|
|
* Fix build with boost 1.62.0
|
|
|
|
--- src/mongo/db/fts/unicode/string.cpp.orig 2016-09-26 12:10:04.000000000 +0000
|
|
+++ src/mongo/db/fts/unicode/string.cpp
|
|
@@ -274,7 +274,7 @@ bool String::substrMatch(const std::stri
|
|
|
|
// Case sensitive and diacritic sensitive.
|
|
return boost::algorithm::boyer_moore_search(
|
|
- haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end();
|
|
+ haystack.begin(), haystack.end(), needle.begin(), needle.end()) != std::make_pair(haystack.end(), haystack.end());
|
|
}
|
|
|
|
} // namespace unicode
|