From cb3c8e6d88b7f2289aaaf1626ad5dc5877cc235b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 21 Feb 2013 16:22:50 +0300 Subject: [PATCH] Revert "db: don't create unused tables in the in-memory database" This reverts commit feef6409447ee5bc108373f0785c58ba83fdb16c. We have to have all the tables in the in-memory database because we put data into them even though we may not use it for some tables. Signed-off-by: Dan Carpenter --- smatch_db.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smatch_db.c b/smatch_db.c index d63306de..c600002a 100644 --- a/smatch_db.c +++ b/smatch_db.c @@ -868,9 +868,12 @@ static void init_memdb(void) char *err = NULL; int rc; const char *schema_files[] = { + "db/db.schema", "db/caller_info.schema", "db/return_states.schema", + "db/type_size.schema", "db/call_implies.schema", + "db/function_ptr.schema", "db/return_values.schema", }; static char buf[4096]; -- 2.11.4.GIT