test:modify testcase of inserting data
This commit is contained in:
parent
2b86dd2274
commit
9f5ac9e55b
|
@ -20,6 +20,8 @@ print $data[1][0] $data[1][1] $data[1][2] $data[1][3]
|
||||||
if $rows == 2 then
|
if $rows == 2 then
|
||||||
if $data[1][1] == stop then
|
if $data[1][1] == stop then
|
||||||
goto end_insert
|
goto end_insert
|
||||||
|
elif $data[0][1] == stop then
|
||||||
|
goto end_insert
|
||||||
endi
|
endi
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
@ -47,6 +49,9 @@ endw
|
||||||
if $loop_cnt == 0 then
|
if $loop_cnt == 0 then
|
||||||
print ====> notify main to working for insert data
|
print ====> notify main to working for insert data
|
||||||
sql insert into interaction values (now, 'working', 0, 0);
|
sql insert into interaction values (now, 'working', 0, 0);
|
||||||
|
sql select * from interaction
|
||||||
|
print $data[0][0] $data[0][1] $data[0][2] $data[0][3]
|
||||||
|
print $data[1][0] $data[1][1] $data[1][2] $data[1][3]
|
||||||
endi
|
endi
|
||||||
$loop_cnt = $loop_cnt + 1
|
$loop_cnt = $loop_cnt + 1
|
||||||
goto loop_insert
|
goto loop_insert
|
||||||
|
|
Loading…
Reference in New Issue