some problems of planner
This commit is contained in:
parent
e5e9252388
commit
43852a0e69
|
@ -1566,6 +1566,9 @@ static uint32_t funcNodeHash(const char* pKey, uint32_t len) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t funcNodeEqual(const void* pLeft, const void* pRight, size_t len) {
|
static int32_t funcNodeEqual(const void* pLeft, const void* pRight, size_t len) {
|
||||||
|
if (0 != strcmp((*(const SExprNode**)pLeft)->aliasName, (*(const SExprNode**)pRight)->aliasName)) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
return nodesEqualNode(*(const SNode**)pLeft, *(const SNode**)pRight) ? 0 : 1;
|
return nodesEqualNode(*(const SNode**)pLeft, *(const SNode**)pRight) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1 tinyint, tgcol2 int,
|
||||||
$i = 0
|
$i = 0
|
||||||
while $i < 5
|
while $i < 5
|
||||||
$tb = $tbPrefix . $i
|
$tb = $tbPrefix . $i
|
||||||
sql create table $tb using $mt tags( 0, 0, 0, 0, 0 )
|
sql create table $tb using $mt tags( 0, 0, 0, 0, '0' )
|
||||||
$x = 0
|
$x = 0
|
||||||
while $x < $rowNum
|
while $x < $rowNum
|
||||||
$ms = $x . m
|
$ms = $x . m
|
||||||
|
@ -35,7 +35,7 @@ while $i < 5
|
||||||
endw
|
endw
|
||||||
while $i < 10
|
while $i < 10
|
||||||
$tb = $tbPrefix . $i
|
$tb = $tbPrefix . $i
|
||||||
sql create table $tb using $mt tags( 1, 1, 1, 1, 1 )
|
sql create table $tb using $mt tags( 1, 1, 1, 1, '1' )
|
||||||
$x = 0
|
$x = 0
|
||||||
while $x < $rowNum
|
while $x < $rowNum
|
||||||
$ms = $x . m
|
$ms = $x . m
|
||||||
|
|
Loading…
Reference in New Issue