Always check for read/write errors, and propagate them. Also, most functions now properly return -1 on error (some return a Boolean to indicate success, some return NULL on error).
Always check for read/write errors, and propagate them.
Also, most functions now properly return -1 on error (some return a
Boolean to indicate success, some return NULL on error).

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