Generic error when there are no obsolete result to delete

Bug #1155224 reported by Federico Razzoli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
STK-Unit
Fix Released
Low
Federico Razzoli

Bug Description

When calling results_clean_all() or results_clean_tr() but there are no obsolete results (or specified TR doesnt exist), an error is generated:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL' at line 1

If there are no obsolete results, no error should be generated. If specified TR doesn't exist, on of the following errors should raise:
* [STK/Unit.results_clean_tr] - Cannot find specified Test Case
* [STK/Unit.results_clean_tr] - Cannot find specified Test Suite

tags: added: untested
Changed in stk-unit:
importance: Undecided → Low
assignee: nobody → Federico Razzoli (santec)
Revision history for this message
Federico Razzoli (santec) wrote :

Fixed: rev41

Changed in stk-unit:
status: Triaged → Fix Committed
Changed in stk-unit:
milestone: 1.1.0 → 1.0.0
Changed in stk-unit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.