Merge pull request #3024 from taosdata/feature/query
[td-225] add unlock read lock of tsdb.
This commit is contained in:
commit
c0ebe69d8e
|
@ -2406,6 +2406,8 @@ int32_t tsdbQuerySTableByTagCond(TSDB_REPO_T* tsdb, uint64_t uid, TSKEY skey, co
|
|||
} CATCH( code ) {
|
||||
CLEANUP_EXECUTE();
|
||||
terrno = code;
|
||||
tsdbUnlockRepoMeta(tsdb); // unlock tsdb in any cases
|
||||
|
||||
goto _error;
|
||||
// TODO: more error handling
|
||||
} END_TRY
|
||||
|
|
Loading…
Reference in New Issue