summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2023-04-29 17:26:58 +0000
committerChristos Zoulas <christos@zoulas.com>2023-04-29 17:26:58 +0000
commit43b34f87cdaa58a09325def440b457a7163e06d4 (patch)
tree7665e64af9e00ec34a6870ac9439a0ca6c3c93c1
parentd23a29261948d630f43823f5a038c915f03d82d9 (diff)
downloadfile-git-43b34f87cdaa58a09325def440b457a7163e06d4.tar.gz
Add extension and mime type for sqlite (Joerg Jenderek)
-rw-r--r--magic/Magdir/sql8
1 files changed, 7 insertions, 1 deletions
diff --git a/magic/Magdir/sql b/magic/Magdir/sql
index 8a91d70e..00f36179 100644
--- a/magic/Magdir/sql
+++ b/magic/Magdir/sql
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: sql,v 1.25 2023/01/06 17:32:32 christos Exp $
+# $File: sql,v 1.26 2023/04/29 17:26:58 christos Exp $
# sql: file(1) magic for SQL files
#
# From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
@@ -88,8 +88,14 @@
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
+# Update: Joerg Jenderek
+# Reference: http://mark0.net/download/triddefs_xml.7z/defs/s/sqlite-2x.trid.xml
+# Note: called "SQLite 2.x database" by TrID and "SQLite Database File Format" version 2 by DROID via PUID fmt/1135
# Version 2 used this format:
0 string **\ This\ file\ contains\ an\ SQLite SQLite 2.x database
+!:mime application/x-sqlite2
+# FileAttributesStore.db test.sqlite2
+!:ext sqlite/sqlite2/db
# URL: https://en.wikipedia.org/wiki/SQLite
# Reference: https://www.sqlite.org/fileformat.html