avoid invalid read/write

This commit is contained in:
yihaoDeng 2022-10-22 21:29:45 +08:00
parent 48604314e6
commit 3f5884a510
1 changed files with 11 additions and 11 deletions

View File

@ -87,17 +87,17 @@ if $rows != 2 then
return -1 return -1
endi endi
print $tbPrefix #print $tbPrefix
$tb = $tbPrefix . 0 #$tb = $tbPrefix . 0
if $data00 != wh_tb1 then #if $data00 != wh_tb1 then
print expect wh_tb1, actual:$data00 # print expect wh_tb1, actual:$data00
return -1 # return -1
endi #endi
$tb = $tbPrefix . 1 #$tb = $tbPrefix . 1
if $data10 != wh_tb0 then #if $data10 != wh_tb0 then
print expect wh_tb0, actual:$data00 # print expect wh_tb0, actual:$data00
return -1 # return -1
endi #endi
## select specified columns ## select specified columns