[modify cases]
This commit is contained in:
parent
ea0163b3b4
commit
13c041a22c
|
@ -12,7 +12,7 @@ $numPerUpdateTbl = 2000
|
||||||
|
|
||||||
$totalRows = 0
|
$totalRows = 0
|
||||||
$dropTblStart = $tblStart
|
$dropTblStart = $tblStart
|
||||||
$dropTblEnd = $dropTblStart + $numPerUpdateTbl
|
$dropTblEnd = $dropTblStart
|
||||||
|
|
||||||
sql connect
|
sql connect
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ $rowsPerLoop = 160
|
||||||
$loopCnt = 0
|
$loopCnt = 0
|
||||||
|
|
||||||
loop_run:
|
loop_run:
|
||||||
print ================ client-06 start loop insert data ( loopCnt: $loopCnt )
|
print ================ client-06 start loop insert data from $dropTblStart to $tblStart ( loopCnt: $loopCnt )
|
||||||
$i = $dropTblStart
|
$i = $dropTblStart
|
||||||
while $i < $tblStart
|
while $i < $tblStart
|
||||||
$tb = tb . $i
|
$tb = tb . $i
|
||||||
|
@ -80,7 +80,7 @@ endi
|
||||||
|
|
||||||
$loopCnt = $loopCnt + 1
|
$loopCnt = $loopCnt + 1
|
||||||
|
|
||||||
if $loopCnt > 5 then
|
if $loopCnt > 2 then
|
||||||
print ================ client-06 drop table from $dropTblStart to $dropTblEnd
|
print ================ client-06 drop table from $dropTblStart to $dropTblEnd
|
||||||
$i = $dropTblStart
|
$i = $dropTblStart
|
||||||
while $i < $dropTblEnd
|
while $i < $dropTblEnd
|
||||||
|
|
Loading…
Reference in New Issue