check errors
This commit is contained in:
parent
faee180325
commit
db9e0568da
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue