head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.2
	RELENG_9_1_0_RELEASE:1.1.1.3.22.1
	RELENG_9_1:1.1.1.3.22.1.0.2
	RELENG_9_1_BP:1.1.1.3.22.1
	RELENG_8_3_0_RELEASE:1.1.1.3
	RELENG_8_3:1.1.1.3.0.26
	RELENG_8_3_BP:1.1.1.3
	RELENG_9_0_0_RELEASE:1.1.1.3
	RELENG_9_0:1.1.1.3.0.24
	RELENG_9_0_BP:1.1.1.3
	RELENG_9:1.1.1.3.0.22
	RELENG_9_BP:1.1.1.3
	RELENG_7_4_0_RELEASE:1.1.1.3
	RELENG_8_2_0_RELEASE:1.1.1.3
	RELENG_7_4:1.1.1.3.0.20
	RELENG_7_4_BP:1.1.1.3
	RELENG_8_2:1.1.1.3.0.18
	RELENG_8_2_BP:1.1.1.3
	RELENG_8_1_0_RELEASE:1.1.1.3
	RELENG_8_1:1.1.1.3.0.16
	RELENG_8_1_BP:1.1.1.3
	RELENG_7_3_0_RELEASE:1.1.1.3
	RELENG_7_3:1.1.1.3.0.14
	RELENG_7_3_BP:1.1.1.3
	RELENG_8_0_0_RELEASE:1.1.1.3
	RELENG_8_0:1.1.1.3.0.12
	RELENG_8_0_BP:1.1.1.3
	RELENG_8:1.1.1.3.0.10
	RELENG_8_BP:1.1.1.3
	RELENG_7_2_0_RELEASE:1.1.1.3
	RELENG_7_2:1.1.1.3.0.8
	RELENG_7_2_BP:1.1.1.3
	RELENG_7_1_0_RELEASE:1.1.1.3
	RELENG_6_4_0_RELEASE:1.1.1.1.14.1
	RELENG_7_1:1.1.1.3.0.6
	RELENG_7_1_BP:1.1.1.3
	RELENG_6_4:1.1.1.1.14.1.0.2
	RELENG_6_4_BP:1.1.1.1.14.1
	RELENG_7_0_0_RELEASE:1.1.1.3
	file_4_23__r1_46:1.1.1.3
	RELENG_6_3_0_RELEASE:1.1.1.1
	file_4_23:1.1.1.3
	RELENG_7_0:1.1.1.3.0.4
	RELENG_7_0_BP:1.1.1.3
	RELENG_6_3:1.1.1.1.0.24
	RELENG_6_3_BP:1.1.1.1
	RELENG_7:1.1.1.3.0.2
	RELENG_7_BP:1.1.1.3
	file_4_21:1.1.1.3
	file_4_19:1.1.1.2
	RELENG_6_2_0_RELEASE:1.1.1.1
	RELENG_6_2:1.1.1.1.0.22
	RELENG_6_2_BP:1.1.1.1
	file_4_17_A:1.1
	file_4_17:1.1.1.2
	RELENG_5_5_0_RELEASE:1.1.1.1
	RELENG_5_5:1.1.1.1.0.20
	RELENG_5_5_BP:1.1.1.1
	RELENG_6_1_0_RELEASE:1.1.1.1
	RELENG_6_1:1.1.1.1.0.18
	RELENG_6_1_BP:1.1.1.1
	RELENG_6_0_0_RELEASE:1.1.1.1
	RELENG_6_0:1.1.1.1.0.16
	RELENG_6_0_BP:1.1.1.1
	RELENG_6:1.1.1.1.0.14
	RELENG_6_BP:1.1.1.1
	RELENG_5_4_0_RELEASE:1.1.1.1
	RELENG_5_4:1.1.1.1.0.12
	RELENG_5_4_BP:1.1.1.1
	RELENG_4_11_0_RELEASE:1.1.1.1.2.1
	file_4_12:1.1.1.1
	RELENG_4_11:1.1.1.1.2.1.0.8
	RELENG_4_11_BP:1.1.1.1.2.1
	RELENG_5_3_0_RELEASE:1.1.1.1
	RELENG_5_3:1.1.1.1.0.10
	RELENG_5_3_BP:1.1.1.1
	RELENG_5:1.1.1.1.0.8
	RELENG_5_BP:1.1.1.1
	file_4_10:1.1.1.1
	RELENG_4_10_0_RELEASE:1.1.1.1.2.1
	RELENG_4_10:1.1.1.1.2.1.0.6
	RELENG_4_10_BP:1.1.1.1.2.1
	RELENG_5_2_1_RELEASE:1.1.1.1
	RELENG_5_2_0_RELEASE:1.1.1.1
	RELENG_5_2:1.1.1.1.0.6
	RELENG_5_2_BP:1.1.1.1
	RELENG_4_9_0_RELEASE:1.1.1.1.2.1
	RELENG_4_9:1.1.1.1.2.1.0.4
	RELENG_4_9_BP:1.1.1.1.2.1
	RELENG_5_1_0_RELEASE:1.1.1.1
	RELENG_5_1:1.1.1.1.0.4
	RELENG_5_1_BP:1.1.1.1
	RELENG_4_8_0_RELEASE:1.1.1.1.2.1
	RELENG_4_8:1.1.1.1.2.1.0.2
	RELENG_4_8_BP:1.1.1.1.2.1
	RELENG_4:1.1.1.1.0.2
	file_3_41:1.1.1.1
	ZOULAS:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2012.04.19.03.20.13;	author obrien;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2003.02.28.05.19.36;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.2.2.1
date	2012.04.19.03.20.13;	author svnexp;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2013.03.28.13.00.45;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	2003.02.28.05.19.36;	author obrien;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.14.1;
next	1.1.1.2;

1.1.1.2
date	2006.06.19.07.52.15;	author obrien;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2007.05.24.21.59.38;	author obrien;	state Exp;
branches
	1.1.1.3.22.1;
next	;

1.1.1.1.2.1
date	2003.03.16.04.44.56;	author obrien;	state Exp;
branches;
next	;

1.1.1.1.14.1
date	2008.01.24.15.47.31;	author rafan;	state Exp;
branches;
next	;

1.1.1.3.22.1
date	2012.07.02.08.48.58;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 234449 on 2012-04-19 03:20:13Z by obrien

Update file(1) to version 5.11.
@
text
@
#------------------------------------------------------------------------------
# $File: sql,v 1.6 2009/09/19 16:28:12 christos Exp $
# sql:  file(1) magic for SQL files
#
# From: "Marty Leisner" <mleisner@@eng.mc.xerox.com>
# Recognize some MySQL files.
#
0	beshort			0xfe01		MySQL table definition file
>2	byte			x		Version %d
0	belong&0xffffff00	0xfefe0300	MySQL MISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0700	MySQL MISAM compressed data file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0500	MySQL ISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0600	MySQL ISAM compressed data file
>3	byte			x		Version %d
0	string		 	\376bin		MySQL replication log

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
#
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


1.2.2.1
log
@file sql was added on branch RELENG_8_4 on 2013-03-28 13:00:45 +0000
@
text
@d1 46
@


1.2.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 45

#------------------------------------------------------------------------------
# sql:  file(1) magic for SQL files
#
# From: "Marty Leisner" <mleisner@@eng.mc.xerox.com>
# Recognize some MySQL files.
#
0	beshort			0xfe01		MySQL table definition file
>2	byte			x		Version %d
0	belong&0xffffff00	0xfefe0300	MySQL MISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0700	MySQL MISAM compressed data file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0500	MySQL ISAM index file
>3	byte			x		Version %d
0	belong&0xffffff00	0xfefe0600	MySQL ISAM compressed data file
>3	byte			x		Version %d
0	string		 	\376bin		MySQL replication log

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
#
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


1.1
log
@Initial revision
@
text
@d3 1
d20 27
@


1.1.1.1
log
@Virgin import of Christos Zoulas's FILE 3.41.
	* - fix memory allocation problem (Jeff Johnson)
	* - fix stack overflow corruption (David Endler)
@
text
@@


1.1.1.1.14.1
log
@MFC file 4.21
@
text
@a18 27

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
#
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


1.1.1.2
log
@Virgin import of Christos Zoulas's FILE 4.17.
@
text
@a18 16

#------------------------------------------------------------------------------
# iRiver H Series database file 
# From Ken Guest <ken@@linux.ie>
# As observed from iRivNavi.iDB and unencoded firmware
#
0   string		iRivDB	iRiver Database file
>11  string	>\0	Version %s
>39  string		iHP-100	[H Series]

#------------------------------------------------------------------------------
# SQLite database file 
# From Ken Guest <ken@@linux.ie>
#
0   string  SQLite  SQLite database
>14 string >\0  (Version %s)
@


1.1.1.3
log
@Virgin import of Christos Zoulas's FILE 4.21.
@
text
@d30 2
a31 2
# SQLite database files
# Ken Guest <ken@@linux.ie>, Ty Sarna, Zack Weinberg
d33 2
a34 13
# Version 1 used GDBM internally; its files cannot be distinguished
# from other GDBM files.
#
# Version 2 used this format:
0	string	**\ This\ file\ contains\ an\ SQLite  SQLite 2.x database

# Version 3 of SQLite allows applications to embed their own "user version"
# number in the database.  Detect this and distinguish those files.

0   string  SQLite\ format\ 3
>60 string  _MTN               Monotone source repository
>60 belong  !0                 SQLite 3.x database, user version %u
>60 belong  0                  SQLite 3.x database
@


1.1.1.3.22.1
log
@SVN rev 237983 on 2012-07-02 08:48:58Z by obrien

MFC: r234449: update file(1) to version 5.11.
@
text
@a2 1
# $File: sql,v 1.6 2009/09/19 16:28:12 christos Exp $
@


1.1.1.1.2.1
log
@MFC: file version 3.41

Approved by:	murray(re)
Desired by:		nectar(so)
@
text
@@

