[Vtigercrm-commits] [vtiger development] #4657: Index Creation Failure On UTF8 Database

vtiger development vtiger-tickets at trac.vtiger.com
Wed Dec 12 08:15:31 EST 2007


#4657: Index Creation Failure On UTF8 Database
------------------------+---------------------------------------------------
  Reporter:  prasad     |       Owner:  developer
      Type:  defect     |      Status:  new      
  Priority:  critical   |   Milestone:  5.0.4    
 Component:  vtigercrm  |     Version:  5.0.4    
Resolution:             |    Keywords:           
------------------------+---------------------------------------------------
Comment (by prasad):

 Figured out the problem was due to key length exceeding 1024
 (Recently name column was made as text)

 I changed the following in schema\DatabaseSchema.xml:

 {{{
 <table name="vtiger_attachments">
 ...
 <index name="attachments_description_name_type_attachmentsid_idx">
     <col>description</col>
     <col>name</col>
     <col>type</col>
     <col>attachmentsid</col>
 </index>
 ...
 </table>
 }}}
 to
 {{{
 <table name="vtiger_attachments">
 ...
 <index name="attachments_description_name_type_attachmentsid_idx">
     <col>description</col>
     <col>type</col>
     <col>attachmentsid</col>
 </index>
 ...
 </table>
 }}}

 And got the installation working!

 More details:
 http://developer.spikesource.com/wiki/index.php/Question:Mysql_Error_1071

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4657#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list