CVS update: /cowiki/htdocs/setup/class/task/

[email protected] 14 Jul 2005 03:27:39 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/07/13 20:27:39

Modified:
   cowiki/htdocs/setup/class/task/class.AbstractTask.php

Log:
 Added "mysql" and "mysqli" (MyISAM) again to the selection box

File Changes:

Directory: /cowiki/htdocs/setup/class/task/
===========================================

File [changed]: class.AbstractTask.php
Url: http://cowiki.tigris.org/source/browse/cowiki/htdocs/setup/class/task/class.AbstractTask.php?r1=1.7&r2=1.8
Delta lines:  +10 -3
--------------------
--- class.AbstractTask.php	8 May 2005 01:01:54 -0000	1.7
+++ class.AbstractTask.php	14 Jul 2005 03:27:36 -0000	1.8
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.AbstractTask.php,v 1.7 2005/05/08 01:01:54 dgorski Exp $
+ * $Id: class.AbstractTask.php,v 1.8 2005/07/14 03:27:36 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -17,7 +17,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.7 $
+ * @version     $Revision: 1.8 $
  *
  */
 
@@ -277,11 +277,18 @@
 
     // --------------------------------------------------------------------
 
-    // Schemes "mysql" and "mysqli" are not supported anymore as of 0.4.0
+    // Originally the schemes "mysql" and "mysqli" are not supported
+    // anymore as of 0.4.0, but the maintainers decided to re-introduce
+    // them again. This is a huge problem, as using "mysql" (that means
+    // using MyISAM engine instead if InnoDB) will definetly lead to data
+    // loss sooner or later. coWiki requires ACID transactions which
+    // can not be provided my the MyISAM engine. Hands off MyISAM! (dtg)
     protected function getConnectorSchemes() {
         return array(
             'mysql+innodb'  => 'MySQL (InnoDB)',
             'mysqli+innodb' => 'MySQLi (InnoDB)',
+            'mysql'         => 'MySQL (MyISAM, unsecure/destructive!)',
+            'mysqli'        => 'MySQLi (MyISAM, unsecure/destructive!)',
 #            'postgresql'    => 'PostgreSQL',      // Not yet implemented
 #            'sqlite'        => 'SQLite',          // Not yet implemented
         );