Merge pull request #6575 from taosdata/hotfix/TD-4642-3

[TD-4642]reset last sync time
This commit is contained in:
Haojun Liao 2021-06-24 10:27:03 +08:00 committed by GitHub
commit 84db1dd660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ TAOS_RES *taos_consume(TAOS_SUB *tsub) {
}
pSub->pSql = pSql;
pSql->pSubscription = pSub;
pSub->lastSyncTime = 0;
// no table list now, force to update it
tscDebug("begin table synchronization");