got rid of off_t

This commit is contained in:
Jean-Francois Dockes
2017-02-28 20:36:01 +01:00
parent 9a9608e00b
commit bde991c08a
17 changed files with 95 additions and 82 deletions
+1 -1
View File
@@ -1684,7 +1684,7 @@ void Db::waitUpdIdle()
#endif
// Flush when idxflushmbs is reached
bool Db::maybeflush(off_t moretext)
bool Db::maybeflush(int64_t moretext)
{
if (m_flushMb > 0) {
m_curtxtsz += moretext;
+2 -1
View File
@@ -19,6 +19,7 @@
#include "autoconfig.h"
#include <stdint.h>
#include <string>
#include <vector>
#include <memory>
@@ -535,7 +536,7 @@ private:
const string& field = cstr_null);
// Flush when idxflushmb is reached
bool maybeflush(off_t moretext);
bool maybeflush(int64_t moretext);
bool docExists(const string& uniterm);
/* Copyconst and assignement private and forbidden */