aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 2 insertions, 0 deletions
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
}
}