db: move an option_no_db check to run_sql()
commitfea5ac3279d1689dff2be60c08699869863614eb
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2013 12:01:22 +0000 (20 15:01 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2013 12:01:22 +0000 (20 15:01 +0300)
treeb17cc0b3ef18b47d7043733e5af15f767b3f9dab
parent3db23b0dec76030e94fa569cecf82a3ffd094d35
db: move an option_no_db check to run_sql()

We want to be able to use these hooks for the in-memory database as
well as the on-disk database.  So I've moved the check to run_sql().

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