bug #4606 Tracking report export as SQL dump does not work

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge branch 'QA_4_2' into QA_4_3

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>