Commit 8313aa56 authored by Leigh Stoller's avatar Leigh Stoller

Ack! Learn how to type!

parent a04f294c
...@@ -172,10 +172,10 @@ if ($ISMAINSITE) { ...@@ -172,10 +172,10 @@ if ($ISMAINSITE) {
# #
foreach my $tablename ("scripts", "priorities") { foreach my $tablename ("scripts", "priorities") {
DBQueryFatal("select * from $tablename ". DBQueryFatal("select * from $tablename ".
"replace into outfile '${tempfile}.${tablename}' "); "into outfile '${tempfile}.${tablename}' ");
system("echo \"load data infile '${tempfile}.${tablename}' ". system("echo \"load data infile '${tempfile}.${tablename}' ".
" into table $tablename\" | mysql errorlog"); " replace into table $tablename\" | mysql errorlog");
fatal("Could not load $tablename into archive DB!") fatal("Could not load $tablename into archive DB!")
if ($?); if ($?);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment