[Rt-commit] [svn] r981 - in rt/branches/rt-3.3: . etc etc/upgrade/3.3.0

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Sun May 30 03:01:04 EDT 2004


Author: jesse
Date: Sun May 30 03:01:04 2004
New Revision: 981

Modified:
   rt/branches/rt-3.3/   (props changed)
   rt/branches/rt-3.3/etc/schema.mysql
   rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql
Log:
 
 ----------------------------------------------------------------------
 r1721 at debian:  jesse | 2004-05-30T16:04:25.431679Z
 
 Mysql on some platforms (built with unicode?) has a shorter max index length. adjusted indexes
 ----------------------------------------------------------------------


Modified: rt/branches/rt-3.3/etc/schema.mysql
==============================================================================
--- rt/branches/rt-3.3/etc/schema.mysql	(original)
+++ rt/branches/rt-3.3/etc/schema.mysql	Sun May 30 03:01:04 2004
@@ -367,7 +367,7 @@
   PRIMARY KEY (id)
 ) TYPE=InnoDB;
 
-CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId,Content); 
+CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (Content); 
 CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); 
 
 # }}}

Modified: rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql
==============================================================================
--- rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql	(original)
+++ rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql	Sun May 30 03:01:04 2004
@@ -29,7 +29,7 @@
 
 alter table objectcustomfieldvalues drop index ticketcustomfieldvalues2;
 
-alter table objectcustomfieldvalues add index ObjectCustomFieldValues1 (CustomField,ObjectType,ObjectId,Content); 
+alter table objectcustomfieldvalues add index ObjectCustomFieldValues1 (Content); 
 
 alter table objectcustomfieldvalues add index ObjectCustomFieldValues2 (CustomField,ObjectType,ObjectId); 
 


More information about the Rt-commit mailing list