[Vtigercrm-commits] [vtiger development] #6212: Unnecessary table join: Need to be reviewed

vtiger development vtiger-tickets at trac.vtiger.com
Thu Jul 30 12:59:01 EDT 2009


#6212: Unnecessary table join: Need to be reviewed
-----------------------+----------------------------------------------------
 Reporter:  prasad     |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  major      |   Milestone:  5.1.1    
Component:  vtigercrm  |     Version:  5.1.0    
 Keywords:             |  
-----------------------+----------------------------------------------------
 Review the table join that is made in CRMEntity.php (function
 get_related_list)
 {{{
 $query .= " LEFT  JOIN $this->table_name   ON
 $this->table_name.$this->table_index =
 $other->table_name.$other->table_index";
 }}}

 It might not succeed since each module table's table_index has its own
 unique value for the record.

 Reference: Roi (RCohen) through skype call.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6212>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list