got rid of off_t
This commit is contained in:
+1
-1
@@ -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
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user