[system] / branches / gage_dev / webwork2 / lib / WeBWorK / DB / Schema / Null.pm Repository:
ViewVC logotype

Log of /branches/gage_dev/webwork2/lib/WeBWorK/DB/Schema/Null.pm

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 6647)

Revision 6299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 22 14:46:58 2010 UTC (2 years, 11 months ago) by gage
File length: 1694 byte(s)
Diff to previous 5319
test development branch

Revision 5319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 22:59:59 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1694 byte(s)
Diff to previous 3973
updated copyright dates

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1694 byte(s)
Diff to previous 1664
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)

Revision 1664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 02:42:28 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1701 byte(s)
Diff to previous 1663
added "count" methods to the rest of the schemas. updated documentation.

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1585 byte(s)
Diff to previous 1569
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.

Here is the new header:

################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

Revision 1569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 7 00:27:00 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 928 byte(s)
Diff to previous 1568
fixed new implementations of "get" -- they need to return a single item,
not a list of items!

Revision 1568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 6 23:50:58 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 914 byte(s)
Diff to previous 1167
added optimized implementations for DB getOBJECTs functions.

Revision 1167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 23:35:54 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 885 byte(s)
Diff to previous 931
Several changes to the DB system:

Made all schemas subclasses of WeBWorK::DB::Schema, factored common
constructor code out into Schema.pm. Made all drivers subclasses of
WeBWorK::DB::Schema, factored common constructor code out into
Driver.pm.

Removed superfluous style() and tables() functions from schemas and
drivers. (You can treat the constants in which these are defined as
functions, and call them like $object->STYLE or $object->STYLE().)

WeBWorK::DB now tries to build all tables defined in %dbLayout, instead
of using its own internal list. (TODO: add warnings if known tables are
not built or unknown tables are built.)

Made the error messages given during DB instantiation a little more
intelligent.

Changed the behavior of the exists() and delete() schema methods in all
schemas (and updated the docs) s.t. not all elements of @keyparts have
to be defined.

Changed WeBWorK::DB to allow undefined values to be passed instead of
IDs in delete* method calls, but only if the call was made from
WeBWorK::DB itself (to protect you from accidentally passing an
undefined value and clobbering your whole database).

Changed delete functions to be more efficient. For example,
deleteGlobalSet no longer has to say:

	$self->deleteUserSet($_, $setID)
		foreach $self->listSetUsers($setID);
	$self->deleteGlobalProblem($setID, $_)
		foreach $self->listGlobalProblems($setID);

Instead it says:

	$self->deleteUserSet(undef, $setID);
	$self->deleteGlobalProblem($setID, undef);

This is somewhat more efficient with hash-style schemas, and MUCH more
efficient with the SQL schema.

As usual, be wary of lingering bugs. w00t!
-sam

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 19:21:04 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1717 byte(s)
Diff to previous 808
changed the Schema interface (to include a reference to $db) and changed
DBI connect to connect_cached.
-sam

Revision 808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:01:17 2003 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1695 byte(s)
Diff to previous 806
Lots of work on WWDBv2... WW1Hash is done! A complete dbLayout (as
detailed on global.conf.dist) works now.
-sam

Revision 806 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Apr 16 04:43:40 2003 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/DB/Schema/Null.pm
File length: 1695 byte(s)
added a dummy driver and schema.
-sam

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9