Currently when we import results from previous instances of the course these changes are directly applied onto the DB. This is bad if the file contain any errors, or something else bad happens during upload. We should rather use transactions as provided by MySQL/MariaDB before committing results into production DB.
Currently when we import results from previous instances of the course these changes are directly applied onto the DB. This is bad if the file contain any errors, or something else bad happens during upload. We should rather use transactions as provided by MySQL/MariaDB before committing results into production DB.