Merge pull request #19966 from taosdata/fix/nodisk
fix(query): check validation of suid
This commit is contained in:
commit
78e67995cc
|
@ -2001,7 +2001,7 @@ SOperatorInfo* createDataBlockInfoScanOperator(SReadHandle* readHandle, SBlockDi
|
||||||
}
|
}
|
||||||
|
|
||||||
pInfo->readHandle = *readHandle;
|
pInfo->readHandle = *readHandle;
|
||||||
pInfo->uid = pBlockScanNode->suid;
|
pInfo->uid = (pBlockScanNode->suid != 0)? pBlockScanNode->suid:pBlockScanNode->uid;
|
||||||
|
|
||||||
int32_t numOfCols = 0;
|
int32_t numOfCols = 0;
|
||||||
SExprInfo* pExprInfo = createExprInfo(pBlockScanNode->pScanPseudoCols, NULL, &numOfCols);
|
SExprInfo* pExprInfo = createExprInfo(pBlockScanNode->pScanPseudoCols, NULL, &numOfCols);
|
||||||
|
|
|
@ -81,7 +81,6 @@ $nt = $ntPrefix . $i
|
||||||
|
|
||||||
#sql select _block_dist() from $nt
|
#sql select _block_dist() from $nt
|
||||||
print show table distributed $nt
|
print show table distributed $nt
|
||||||
sql_error show table distributed $nt
|
|
||||||
|
|
||||||
#if $rows == 0 then
|
#if $rows == 0 then
|
||||||
# return -1
|
# return -1
|
||||||
|
|
|
@ -143,9 +143,11 @@ sql delete from t1 where ts<=1537146409500
|
||||||
|
|
||||||
sql flush database $db
|
sql flush database $db
|
||||||
|
|
||||||
|
print ======================================>TS-2639
|
||||||
|
sql show table distributed t1;
|
||||||
|
|
||||||
print =====================================>TD-22007
|
print =====================================>TD-22007
|
||||||
sql select count(*) from t1 interval(10a)
|
sql select count(*) from t1 interval(10a)
|
||||||
|
|
||||||
sql drop table t1
|
sql drop table t1
|
||||||
|
|
||||||
sql create table st1 (ts timestamp, k int) tags(a int);
|
sql create table st1 (ts timestamp, k int) tags(a int);
|
||||||
|
|
Loading…
Reference in New Issue