db: introduce sql_select_return_states()
commit744def9523712583f6fd3c1e1440fcc049b594d0
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Feb 2013 07:13:11 +0000 (19 10:13 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Feb 2013 07:13:11 +0000 (19 10:13 +0300)
tree2f11a84b250e1c30e7b8ceb2d5c22dbb46da8a79
parent35feb52e04b021a7b94fc491e38d4452cedc2fc6
db: introduce sql_select_return_states()

Instead of everyone hand rolling their own select SQL there could be a
function which does this.  Also I want smatch_db.c to have access to the
call expression for the in-memory database work later.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_db.c
smatch_function_hooks.c