Index: openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-database-procs.tcl,v diff -u -r1.19.2.1 -r1.19.2.2 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 14 Oct 2002 08:50:06 -0000 1.19.2.1 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 14 Jan 2003 13:32:16 -0000 1.19.2.2 @@ -734,7 +734,7 @@ ad_proc db_transaction { transaction_code args } { - Usage: db_transaction code_block [ on_error { error_code_block } ] + Usage: db_transaction transaction_code [ on_error { error_code_block } ] Executes transaction_code with transactional semantics. This means that either all of the database commands within transaction_code are committed to the database or none of them are. Multiple db_transactions may be @@ -753,7 +753,7 @@ db_transaction { db_dml test "nonsense" } on_error { - ad_return_complaint "The DML failed." + ad_return_error "Error in blah/foo/bar" "The error was: $errmsg" }