Log Message:
-----------
Restored a few of the database functions
from HEAD in order to make archive/unarchive
work. Those two functions are still delicate.
Tags:
----
rel-2-4-patches
Modified Files:
--------------
webwork2/lib/WeBWorK/DB/Record:
Locations.pm
webwork2/lib/WeBWorK/DB/Schema/NewSQL:
Std.pm
Revision Data
-------------
Index: Locations.pm
===================================================================
RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/DB/Record/Locations.pm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -Llib/WeBWorK/DB/Record/Locations.pm -Llib/WeBWorK/DB/Record/Locations.pm -u -r1.1.2.1 -r1.1.2.1.2.1
--- lib/WeBWorK/DB/Record/Locations.pm
+++ lib/WeBWorK/DB/Record/Locations.pm
@@ -1,4 +1,5 @@
-################################################################################# WeBWorK Online Homework Delivery System
+################################################################################
+# WeBWorK Online Homework Delivery System
# Copyright � 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
# $CVSHeader$
#
Index: Std.pm
===================================================================
RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm,v
retrieving revision 1.10.2.2.2.1
retrieving revision 1.10.2.2.2.2
diff -Llib/WeBWorK/DB/Schema/NewSQL/Std.pm -Llib/WeBWorK/DB/Schema/NewSQL/Std.pm -u -r1.10.2.2.2.1 -r1.10.2.2.2.2
--- lib/WeBWorK/DB/Schema/NewSQL/Std.pm
+++ lib/WeBWorK/DB/Schema/NewSQL/Std.pm
@@ -228,7 +228,8 @@
my $exit = $? >> 8;
my $signal = $? & 127;
my $core = $? & 128;
- die "Failed to dump table '".$self->sql_table_name."' with command '$dump_cmd' (exit=$exit signal=$signal core=$core): $dump_out\n";
+ warn "Warning: Failed to dump table '".$self->sql_table_name."' with command '$dump_cmd' (exit=$exit signal=$signal core=$core): $dump_out\n";
+ warn "This can be expected if the course was created with an earlier version of WeBWorK.";
}
return 1;
|