1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Fixed a cache accounting error from a previous bug fix.

This commit is contained in:
Patrick LeBlanc
2019-06-28 14:22:31 -05:00
parent 5789f52420
commit 64dd0b720e

View File

@@ -3,6 +3,7 @@
#include "IOCoordinator.h"
#include "SMLogging.h"
#include "Utilities.h"
#include "Cache.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -134,6 +135,7 @@ int Replicator::addJournalEntry(const char *filename, const uint8_t *data, off_t
assert((uint) err == header.length() + 1);
if (err <= 0)
return err;
Cache::get()->newJournalEntry(header.length() + 1);
}
else
{