From 1126be9c65495a8657978483276ed238bb03779e Mon Sep 17 00:00:00 2001 From: Roy Duineveld Date: Fri, 1 Nov 2019 18:54:01 +0100 Subject: [PATCH 1/2] Support for Sequel Pro SQL dumps --- src/file_txt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file_txt.c b/src/file_txt.c index 19ea2860..652e895b 100644 --- a/src/file_txt.c +++ b/src/file_txt.c @@ -172,6 +172,7 @@ static const txt_header_t fasttxt_headers[] = { { "-- phpMyAdmin SQL Dump", 22, "sql"}, { "--\n-- PostgreSQL database cluster dump", 38, "sql"}, { "--\r\n-- PostgreSQL database cluster dump", 39, "sql"}, + { "# Sequel Pro SQL dump", 21, "sql"}, { "---- BEGIN SSH2 PUBLIC KEY ----", 31, "ppk"}, { "PuTTY-User-Key-File-2:", 22, "ppk"}, { "-----BEGIN PGP PRIVATE KEY BLOCK-----", 37, "priv"}, From 7c5aa1173bac6f7dc041ab773192129fb5fdfe6b Mon Sep 17 00:00:00 2001 From: Roy Duineveld Date: Sat, 2 Nov 2019 09:54:08 +0100 Subject: [PATCH 2/2] Update file_txt.c --- src/file_txt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_txt.c b/src/file_txt.c index 652e895b..b148b15e 100644 --- a/src/file_txt.c +++ b/src/file_txt.c @@ -172,7 +172,7 @@ static const txt_header_t fasttxt_headers[] = { { "-- phpMyAdmin SQL Dump", 22, "sql"}, { "--\n-- PostgreSQL database cluster dump", 38, "sql"}, { "--\r\n-- PostgreSQL database cluster dump", 39, "sql"}, - { "# Sequel Pro SQL dump", 21, "sql"}, + { "# ************************************************************\n# Sequel Pro SQL dump", 84, "sql"}, { "---- BEGIN SSH2 PUBLIC KEY ----", 31, "ppk"}, { "PuTTY-User-Key-File-2:", 22, "ppk"}, { "-----BEGIN PGP PRIVATE KEY BLOCK-----", 37, "priv"},