fix(db): change type from into to size_t

Former-commit-id: 97f571c02189eb7cf3ade68f1d26aea2e2ce5f1c
pull/191/head
Xu Peng 2019-05-24 10:55:54 +08:00
parent a073cf35d6
commit c757be1cb6
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
/*******************************************************************************
* long rows = 3*1024*1024*1024;
* Copyright (Zilliz) - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
@ -480,7 +481,7 @@ Status DBMetaImpl::archive_files() {
}
}
if (criteria == "disk") {
int G = 1024*1024*1024;
size_t G = 1024*1024*1024;
long unsigned int sum = 0;
try {
auto sum_c = ConnectorPtr->sum(