Subversion Repositories SmartDukaan

Rev

Rev 13502 | Rev 14138 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13502 Rev 13515
Line 61... Line 61...
61
cd ${PRGDIR}
61
cd ${PRGDIR}
62
 
62
 
63
 
63
 
64
mysqldump -uroot -pshop2020 catalog --tables similaritems source sourceitempricing category voucheritemmapping freebieitem entitytag amazonlisted storepricing brandinfo privatedeals iteminsurermapping > ${MYSQL_DUMP}
64
mysqldump -uroot -pshop2020 catalog --tables similaritems source sourceitempricing category voucheritemmapping freebieitem entitytag amazonlisted storepricing brandinfo privatedeals iteminsurermapping > ${MYSQL_DUMP}
65
 
65
 
66
if [ -z $a1 ]
66
if [ -z "$a1" -o "$a1" = "NULL" ]
67
then
67
then
68
	echo "a1 is empty"
68
	echo "a1 is empty"
69
else
69
else
70
	echo "All items - $a1"
70
	echo "All items - $a1"
71
	mysqldump -uroot -pshop2020 catalog item --replace --no-create-info --where="id in ($a1)" >> ${MYSQL_DUMP}
71
	mysqldump -uroot -pshop2020 catalog item --replace --no-create-info --where="id in ($a1)" >> ${MYSQL_DUMP}