check errors

This commit is contained in:
mirocow 2016-02-16 15:20:14 +04:00
parent faee180325
commit db9e0568da
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ restore()
time mysql --defaults-extra-file=$CONFIG_FILE $BDD --local-infile -e "SET foreign_key_checks = 0; SET unique_checks = 0; SET sql_log_bin = 0;
LOAD DATA LOCAL INFILE '$DIR/$BDD/$segment'
INTO TABLE $TABLE;
SET foreign_key_checks = 1; SET unique_checks = 1; SET sql_log_bin = 1;" && rm $segment
SET foreign_key_checks = 1; SET unique_checks = 1; SET sql_log_bin = 1;"
done
if [ ! -f "$DIR/$BDD/$TABLE.txt.bz2" ]; then
f_log "> $TABLE"