diff options
author | Marc Vertes <marc.vertes@ugrid.net> | 2016-02-27 14:18:10 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-02 12:39:21 +0000 |
commit | 511d407ad2dd4fbbc5f259fb729274dc4871dea0 (patch) | |
tree | 6fce9af1727f30a3612bbfa819ac6e7d1fdfd6bc /testing/mongodb/wiredtiger-strtouq.patch | |
parent | cfa82a3b364b3adce99d242ccd4f8f566561df08 (diff) | |
download | aports-511d407ad2dd4fbbc5f259fb729274dc4871dea0.tar.bz2 aports-511d407ad2dd4fbbc5f259fb729274dc4871dea0.tar.xz |
testing/mongodb: Fix #5188 where mongod crashes at db.dropDatabase().
>From the error log, it seems this is a problem due to wiredtiger.
The problem does not occure if using internal engine.
Ensure mongodb is using internal provided wiredtiger engine instead of
system one. An additional patch to avoid strtouq is needed.
Diffstat (limited to 'testing/mongodb/wiredtiger-strtouq.patch')
-rw-r--r-- | testing/mongodb/wiredtiger-strtouq.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mongodb/wiredtiger-strtouq.patch b/testing/mongodb/wiredtiger-strtouq.patch new file mode 100644 index 0000000000..db66bcdec2 --- /dev/null +++ b/testing/mongodb/wiredtiger-strtouq.patch @@ -0,0 +1,11 @@ +--- mongodb-src-r3.2.3/src/third_party/wiredtiger/build_linux/wiredtiger_config.h.orig ++++ mongodb-src-r3.2.3/src/third_party/wiredtiger/build_linux/wiredtiger_config.h +@@ -101,7 +101,7 @@ + #define HAVE_STRING_H 1 + + /* Define to 1 if you have the `strtouq' function. */ +-#define HAVE_STRTOUQ 1 ++/* #undef HAVE_STRTOUQ 1 */ + + /* Define to 1 if you have the `sync_file_range' function. */ + /* #undef HAVE_SYNC_FILE_RANGE */ |