fixed segmentation fault (in client) for empty query results, e.g. for
explain statements