Merge branch 'branch-0.3.1' into 'branch-0.3.1'

MS-236: Add MySQLMetaImpl::HasNonIndexFiles  fix

See merge request megasearch/milvus!224

Former-commit-id: 0ab62fb1c83b39a18a6464af3871d98924fd7ac1
This commit is contained in:
peng.xu 2019-07-16 10:27:27 +08:00
commit 89b2b98d4d

View File

@ -404,7 +404,7 @@ Status MySQLMetaImpl::HasNonIndexFiles(const std::string &table_id, bool &has) {
"WHERE table_id = " << quote << table_id << " AND " <<
"(file_type = " << std::to_string(TableFileSchema::RAW) << " OR " <<
"file_type = " << std::to_string(TableFileSchema::NEW) << " OR " <<
"file_type = " << std::to_string(TableFileSchema::TO_INDEX) << ") " <<
"file_type = " << std::to_string(TableFileSchema::TO_INDEX) << ")) " <<
"AS " << quote << "check" << ";";
ENGINE_LOG_DEBUG << "MySQLMetaImpl::HasNonIndexFiles: " << hasNonIndexFilesQuery.str();