diff --git a/dbcon/mysql/ha_calpont.cpp b/dbcon/mysql/ha_calpont.cpp index f2136b3ba..842c1a6f2 100644 --- a/dbcon/mysql/ha_calpont.cpp +++ b/dbcon/mysql/ha_calpont.cpp @@ -16,6 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include "ha_calpont.h" #include "columnstoreversion.h" diff --git a/storage-manager/src/Synchronizer.cpp b/storage-manager/src/Synchronizer.cpp index 5fae02c31..301734edc 100644 --- a/storage-manager/src/Synchronizer.cpp +++ b/storage-manager/src/Synchronizer.cpp @@ -669,7 +669,7 @@ void Synchronizer::synchronizeWithJournal(const string &sourceFile, list count += err; } numBytesWritten += size; - assert(bf::file_size(oldCachePath) == MetadataFile:getLengthFromKey(cloudKey)); + assert(bf::file_size(oldCachePath) == MetadataFile::getLengthFromKey(cloudKey)); cache->rename(prefix, cloudKey, newCloudKey, size - MetadataFile::getLengthFromKey(cloudKey)); replicator->remove(oldCachePath); }