Former-commit-id: 0eb9b5f027c49b5734411b5ae4ad9e384129a134
pull/191/head
zhiru 2019-06-30 14:05:45 +08:00
parent 1982887eb2
commit 210c801839
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ namespace meta {
// }
Query getSizeQuery = connectionPtr->query();
getSizeQuery << "SELECT SUM(size) AS sum " <<
getSizeQuery << "SELECT IFNULL(SUM(size),0) AS sum " <<
"FROM TableFiles " <<
"WHERE file_type <> " << std::to_string(TableFileSchema::TO_DELETE) << ";";