Attached patch moves the mdbsql.c local function _parse
into mdb_run_query which is the only place it is used,
and renames the latter to mdb_sql_run_query to match
the declaration in mdbsql.h (and which better shows
that it acts on a MdbSQL object).
Also, I changed the function signature to return NULL
or the updated MdbSQL object instead of an int. Don't
remember right now why I did that - it's been a while
since I did - but I probably had my reasons as a user
of the API (i.e. using the library in some project)
Log in to post a comment.