mapi_fetch_line must also (just like mapi_fetch_row) ask for more when at the end of the cached tuples. Also, only do this when talking to the SQL server.
mapi_fetch_line must also (just like mapi_fetch_row) ask for more when
at the end of the cached tuples.
Also, only do this when talking to the SQL server.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb