db: improve error message
commitbc6a0328d882b0d3b2f944fa1f9f18db90906752
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 06:35:54 +0000 (14 09:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 06:35:54 +0000 (14 09:35 +0300)
tree4951e593a63cccedb25a1bf43890cc4084518bfa
parentb1b98c55727735cf67fedc010e9d148a9b09c145
db: improve error message

We can print out the SQL statement which causes the error message.  This
message prints if your tables do not have all the right columns etc.

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