minor changes

This commit is contained in:
Shengliang Guan 2020-09-05 09:56:49 +00:00
parent 25c0b8cbe9
commit 5a5a27e8fc
1 changed files with 6 additions and 6 deletions

View File

@ -46,24 +46,24 @@ system sh/exec.sh -n dnode1 -s start
sql connect
print =============== step4
sql select count(*) from log.dn1
sql select * from log.dn1
$d1_first = $rows
sql select count(*) from log.dn2
sql select * from log.dn2
$d2_first = $rows
sleep 3000
sql select count(*) from log.dn1
sql select * from log.dn1
$d1_second = $rows
sql select count(*) from log.dn2
sql select * from log.dn2
$d2_second = $rows
print dnode1 $d1_first $d1_second
print dnode2 $d2_first $d2_first
print dnode2 $d2_first $d2_second
if $d1_first >= $d1_second then
return -1
endi
if $d2_first >= $d2_first then
if $d2_first >= $d2_second then
return -1
endi