summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-09-20 19:37:07 +0300
committerunknown <monty@donna.mysql.com>2000-09-20 19:37:07 +0300
commit0d788b1e91e77b50bcd03359ad052f4795ae1c09 (patch)
treedf5d441bed10a34a5a2157ad96f60a04046960b8 /support-files
parent5993b4947b23e4aca2dfc7b7f92b30f14e56c04f (diff)
downloadmariadb-git-0d788b1e91e77b50bcd03359ad052f4795ae1c09.tar.gz
Fix for SAFE_MUTEX on windows
Docs/manual.texi: cleanup include/my_pthread.h: Fix for SAFEMUTEX under windows mysys/my_thr_init.c: Fix for SAFEMUTEX under windows mysys/my_winthread.c: Fix for SAFEMUTEX under windows mysys/thr_mutex.c: Fix for SAFEMUTEX under windows sql/mysqld.cc: Remove unused code sql/sql_table.cc: Fix filename comparison on Windows support-files/Makefile.am: Added magic file
Diffstat (limited to 'support-files')
-rw-r--r--support-files/Makefile.am3
-rw-r--r--support-files/magic14
2 files changed, 16 insertions, 1 deletions
diff --git a/support-files/Makefile.am b/support-files/Makefile.am
index 923bd7f2f20..a9d5aac7f9e 100644
--- a/support-files/Makefile.am
+++ b/support-files/Makefile.am
@@ -24,7 +24,8 @@ EXTRA_DIST = mysql.spec.sh \
my-huge.cnf.sh \
mysql-log-rotate.sh \
mysql.server.sh \
- binary-configure.sh
+ binary-configure.sh \
+ magic
pkgdata_DATA = my-small.cnf \
my-medium.cnf \
diff --git a/support-files/magic b/support-files/magic
new file mode 100644
index 00000000000..e209599ccf8
--- /dev/null
+++ b/support-files/magic
@@ -0,0 +1,14 @@
+#
+# Add the following to the end of your /etc/magic file to get the 'file'
+# command to 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