[BUGFIX] Optimize memory consumption by fetching from \mysqli_result

Followup on #27
This line is needed