sql 648 B

123456789101112131415161718
  1. #------------------------------------------------------------------------------
  2. # sql: file(1) magic for SQL files
  3. #
  4. # From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
  5. # Recognize some MySQL files.
  6. #
  7. 0 beshort 0xfe01 MySQL table definition file
  8. >2 byte x Version %d
  9. 0 belong&0xffffff00 0xfefe0300 MySQL MISAM index file
  10. >3 byte x Version %d
  11. 0 belong&0xffffff00 0xfefe0700 MySQL MISAM compressed data file
  12. >3 byte x Version %d
  13. 0 belong&0xffffff00 0xfefe0500 MySQL ISAM index file
  14. >3 byte x Version %d
  15. 0 belong&0xffffff00 0xfefe0600 MySQL ISAM compressed data file
  16. >3 byte x Version %d
  17. 0 string \376bin MySQL replication log