提交 3c80623c 编写于 作者: S Shengliang Guan

fix: several use cases after trans tweak

上级 bf8bbfbf
......@@ -7,6 +7,7 @@ sql connect
print =============== show dnodes
sql show dnodes;
print $data[0][0] $data[0][1] $data[0][2] $data[0][3] $data[0][4] $data[0][5] $data[0][6]
if $rows != 1 then
return -1
endi
......@@ -15,12 +16,9 @@ if $data00 != 1 then
return -1
endi
# check 'vnodes' feild ?
#if $data02 != 0 then
# return -1
#endi
sql show mnodes;
print $data[0][0] $data[0][1] $data[0][2] $data[0][3] $data[0][4] $data[0][5] $data[0][6]
if $rows != 1 then
return -1
endi
......
......@@ -64,7 +64,7 @@ if $rows != 1 then
return -1
endi
if $data[0][0] != 2 then
if $data[0][0] != 5 then
return -1
endi
......@@ -114,7 +114,7 @@ if $rows != 1 then
return -1
endi
if $data[0][0] != 4 then
if $data[0][0] != 7 then
return -1
endi
......@@ -137,7 +137,7 @@ endi
sql_error create database d2 vgroups 2;
print =============== kill transaction
sql kill transaction 4;
sql kill transaction 7;
sleep 2000
sql show transactions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册