ltime > stime to do replace
This commit is contained in:
parent
7617a973f8
commit
c7764d4478
|
@ -576,7 +576,7 @@ static void tscCreateStream(void *param, TAOS_RES *res, int code) {
|
||||||
// set stime with ltime if ltime > stime
|
// set stime with ltime if ltime > stime
|
||||||
const char* dstTable = pStream->dstTable? pStream->dstTable: "";
|
const char* dstTable = pStream->dstTable? pStream->dstTable: "";
|
||||||
tscDebug(" CQ table=%s ltime is %"PRId64, dstTable, pStream->ltime);
|
tscDebug(" CQ table=%s ltime is %"PRId64, dstTable, pStream->ltime);
|
||||||
if(pStream->ltime > 0 && pStream->ltime > pStream->stime) {
|
if(pStream->ltime > pStream->stime) {
|
||||||
tscWarn(" CQ set stream %s stime=%"PRId64" replace with ltime=%"PRId64" ", dstTable, pStream->stime, pStream->ltime);
|
tscWarn(" CQ set stream %s stime=%"PRId64" replace with ltime=%"PRId64" ", dstTable, pStream->stime, pStream->ltime);
|
||||||
pStream->stime = pStream->ltime;
|
pStream->stime = pStream->ltime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue