Commit 63c0bdc7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add new report context tables.

parent 07dda0d8
......@@ -201,12 +201,20 @@ if ($ISMAINSITE) {
# Now the other tables Kevin needs
#
foreach my $tablename ("scripts", "priorities", "causes", "session_info",
"errors", "users", "experiments") {
"errors", "users", "experiments",
"report_error", "report_context",
"report_assign_violation") {
if (($tablename eq "errors" ||
$tablename eq "session_info") && !$force) {
DBQueryFatal("select * from $tablename where session>=$firstseq ".
"into outfile '${tempfile}.${tablename}' ");
}
elsif ($tablename eq "report_error" ||
$tablename eq "report_context" ||
$tablename eq "report_assign_violation") {
DBQueryFatal("select * from $tablename where seq>=$firstseq ".
"into outfile '${tempfile}.${tablename}' ");
}
elsif ($tablename eq "users") {
DBQueryFatal("select uid,unix_uid from $tablename ".
"into outfile '${tempfile}.${tablename}' ");
......
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