Author: michiel
Date: 2009-06-04 11:33:26 +0200 (Thu, 04 Jun 2009)
New Revision: 35694

Modified:
   mmbase/trunk/config/storage/databases/mysql_with_views.xml
Log:
mysql has a max key length too

Modified: mmbase/trunk/config/storage/databases/mysql_with_views.xml
===================================================================
--- mmbase/trunk/config/storage/databases/mysql_with_views.xml  2009-06-04 
09:33:01 UTC (rev 35693)
+++ mmbase/trunk/config/storage/databases/mysql_with_views.xml  2009-06-04 
09:33:26 UTC (rev 35694)
@@ -12,6 +12,8 @@
 
   <attributes>
 
+    <attribute name="database-max-key-length" value="1000" />
+
     <!-- MySQL does not default support transactions, but it's Metadata object 
claims that it does
              So set support to false.
     -->
@@ -20,6 +22,8 @@
     <!-- Use Blobs  -->
     <option name="database-supports-blob" />
 
+
+
     <!-- uses different syntax for creating unique key constraints -->
     <scheme name="create-unique-key-scheme" >UNIQUE INDEX {2} ({2} 
({4}))</scheme>
     <!-- MySQL does not properly support foreign keys, Still create a least an 
index -->

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to