You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-20 01:42:27 +03:00
Fixed a cache accounting error from a previous bug fix.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#include "IOCoordinator.h"
|
#include "IOCoordinator.h"
|
||||||
#include "SMLogging.h"
|
#include "SMLogging.h"
|
||||||
#include "Utilities.h"
|
#include "Utilities.h"
|
||||||
|
#include "Cache.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.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);
|
assert((uint) err == header.length() + 1);
|
||||||
if (err <= 0)
|
if (err <= 0)
|
||||||
return err;
|
return err;
|
||||||
|
Cache::get()->newJournalEntry(header.length() + 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user