From b361e24be745b6aeaba5b4bf4381c4e0be7100fc Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Sun, 8 Dec 2013 22:07:36 -0500 Subject: Delete column wrapped in end/begin transaction --- GradeBook_lib.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 88d61e1..f5c1a36 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -371,7 +371,9 @@ proc calculteWeightedTotals { } { set flag_delete_CategoryWeightedTolal true } if { $flag_delete_CategoryWeightedTolal && ([doesColumnExists $CategoryWeightedTolalName GradesTable]) } { + end_db_transaction DeleteColumnFromTable GradesTable $CategoryWeightedTolalName + begin_db_transaction } } -- cgit v1.2.3