8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc49771 commit c5f2f5eCopy full SHA for c5f2f5e
lib/Basics/IndexBucket.h
@@ -214,6 +214,8 @@ struct IndexBucket {
214
int allocateTempfile(char*& filename, size_t filesize) {
215
TRI_ASSERT(filename == nullptr);
216
217
+ return -1;
218
+#if 0
219
if (filesize < FileBackedThreshold) {
220
// use new/malloc
221
return -1;
@@ -238,9 +240,11 @@ struct IndexBucket {
238
240
}
239
241
242
return fd;
243
+#endif
244
245
246
void deallocateTempfile() {
247
248
if (_file >= 0) {
249
// close file pointer and reset fd
250
TRI_CLOSE(_file);
@@ -252,6 +256,7 @@ struct IndexBucket {
252
256
_filename = nullptr;
253
257
254
258
TRI_ASSERT(_file == -1);
259
255
260
261
};
262
0 commit comments