Fix status reporting - move it from dead code to actually executing. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>