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