abhinav-upadhyay/apropos_replacement — Issue #61: Change the Callback interface in run_query(3)
Author: abhinav-upadhyay
Created: 2011-11-20 07:56:26+00:00
State: open

From discussion with Joerg on IRC:

Overhaul the callback interface in run_query so that it does not depend on the internals of Sqlite.

* Remove useless arguments like ncol, col_names
* Provide the values of the columns in the result set directly as the arguments of the callback rather than providing them in an array (col_values)
* Also provide length of the snippet.