MS-235 Some test cases random fail

Former-commit-id: c77aab33541b0c5da7c3cdc6a080fb47c76bd301
This commit is contained in:
starlord 2019-07-15 19:48:11 +08:00
parent 590efe665a
commit 7b35e2cebe
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-233 - Remove mem manager log
- MS-230 - Change parameter name: Maximum_memory to insert_buffer_size
- MS-234 - Some case cause background merge thread stop
- MS-235 - Some test cases random fail
## Improvement
- MS-156 - Add unittest for merge result functions

View File

@ -291,6 +291,8 @@ Status DBMetaImpl::HasNonIndexFiles(const std::string& table_id, bool& has) {
try {
auto selected = ConnectorPtr->select(columns(&TableFileSchema::id_),
where((c(&TableFileSchema::file_type_) == (int) TableFileSchema::RAW
or
c(&TableFileSchema::file_type_) == (int) TableFileSchema::NEW
or
c(&TableFileSchema::file_type_) == (int) TableFileSchema::TO_INDEX)
and c(&TableFileSchema::table_id_) == table_id