fix: no create the kpi_c_report for NE
This commit is contained in:
@@ -144,4 +144,11 @@ for ne_type in ${ne_types}; do
|
|||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
echo "done"
|
echo "done"
|
||||||
fi
|
fi
|
||||||
|
TABLE_NAME="kpi_c_report_${ne_type}"
|
||||||
|
SQL="CREATE TABLE IF NOT EXISTS ${TABLE_NAME} LIKE \`kpi_c_report\`;"
|
||||||
|
echo -n "Create table: ${TABLE_NAME} ..."
|
||||||
|
mysql -u${USER} -p${PASSWORD} -P ${PORT} -h ${HOST} --protocol tcp -D ${DBNAME} -e "${SQL}"
|
||||||
|
if [ $? = 0 ]; then
|
||||||
|
echo "done"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
Reference in New Issue
Block a user