Commit 102db588c2306b60e56d51fab4bb7f446272ed4c

Authored by Brad Shuttleworth
1 parent 80ea2796

fix for BBS-306: MSI has incorrect mimetype.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5438 c91229c3-7414-0410-bfa2-8a42b809f60b
docs/VERSION.txt
1   -3.0.2.2
  1 +3.0.2.3
... ...
sql/mysql/upgrade/3.0.2.3/msi-filetype.sql 0 → 100644
  1 +TRUNCATE `zseq_mime_types`;
  2 +INSERT INTO `zseq_mime_types` SELECT MAX(`id`) FROM `mime_types`;
  3 +SELECT @foo:=id + 1 FROM `zseq_mime_types`;
  4 +INSERT INTO `mime_types` VALUES (@foo, 'msi', 'application/msword', 'compressed', 'MSI Installer file');
  5 +
  6 +TRUNCATE `zseq_mime_types`;
  7 +INSERT INTO `zseq_mime_types` SELECT MAX(`id`) FROM `mime_types`;
... ...