diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-05-08 14:22:28 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-05-08 14:22:36 -0400 |
commit | 6374fb0dc3e54ffe1cc48d68309437210de863b5 (patch) | |
tree | 6fb568f77a998fbce2391264acadf4b97eda05fc /GradeBook_lib.tcl | |
parent | 2e6ed35890e41c1ad02f78e62de6c8347a12a5ff (diff) | |
download | GradeBook-6374fb0dc3e54ffe1cc48d68309437210de863b5.tar.gz GradeBook-6374fb0dc3e54ffe1cc48d68309437210de863b5.zip |
looks begin/update transaction wrapping doesnot work, commenting it out
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 8a8aa7f..43859f1 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -2099,7 +2099,7 @@ proc UpdateColumnStDevGrade { columnname } { proc UpdateGradesTableStatistic { permission_list user } { - begin_db_transaction + #begin_db_transaction set grades_categories [get_grades_category] # remove unset and deleted categories from stats calculation @@ -2127,11 +2127,11 @@ proc UpdateGradesTableStatistic { permission_list user } { set update_parent_flag false UpdateColumnStatistic $columnname $update_parent_flag } - end_db_transaction + #end_db_transaction } proc UpdateColumnStatistic { columnname {update_parent_flag true} } { - begin_db_transaction + #begin_db_transaction set all_column_names [getColListFromTable GradesTable] if { $columnname ni $all_column_names } { end_db_transaction @@ -2155,7 +2155,7 @@ proc UpdateColumnStatistic { columnname {update_parent_flag true} } { set root_category_column "Grand Total" } UpdateColumnStatistic $root_category_column - end_db_transaction + #end_db_transaction } proc UpdateGrades { permission_list user } { |