mysql如何测试shell
a=0
echo $a
#while true
while [ $a -lt 1001 ]
do
echo $a
mysql pica_coredb<<!
#insert into
#insert into
#insert into
exit
!
a=`expr $a + 1`
if [ $a -gt 2000 ]
then
exit
fi
a=0
echo $a
#while true
while [ $a -lt 1001 ]
do
echo $a
mysql pica_coredb<<!
#insert into
#insert into
#insert into
exit
!
a=`expr $a + 1`
if [ $a -gt 2000 ]
then
exit
fi