From b4d5f6fd5397bde406300218e4f253e3662a19fa Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 12 Jul 2015 23:16:47 +0530 Subject: Divinglog import: hook up processing of .sql files Signed-off-by: Dirk Hohndel --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index e6b0a3f94..085c33379 100644 --- a/file.c +++ b/file.c @@ -448,7 +448,7 @@ int parse_file(const char *filename) } fmt = strrchr(filename, '.'); - if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK"))) { + if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK") || !strcasecmp(fmt + 1, "SQL"))) { if (!try_to_open_db(filename, &mem)) { free(mem.buffer); return 0; -- cgit v1.2.3-70-g09d2