fix bug
This commit is contained in:
parent
497159f3aa
commit
762284c409
|
@ -50,6 +50,9 @@ void tscUnlockByThread(int64_t *lockedBy);
|
||||||
|
|
||||||
int tsInsertInitialCheck(SSqlObj *pSql);
|
int tsInsertInitialCheck(SSqlObj *pSql);
|
||||||
|
|
||||||
|
void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2034,7 +2034,7 @@ void tscHandleMasterJoinQuery(SSqlObj* pSql) {
|
||||||
tscAsyncResultOnError(pSql);
|
tscAsyncResultOnError(pSql);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs) {
|
void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs) {
|
||||||
assert(numOfSubs <= pSql->subState.numOfSub && numOfSubs >= 0);
|
assert(numOfSubs <= pSql->subState.numOfSub && numOfSubs >= 0);
|
||||||
|
|
||||||
for(int32_t i = 0; i < numOfSubs; ++i) {
|
for(int32_t i = 0; i < numOfSubs; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue