remove LOWER from alias query

moshe weitzman - July 28, 2008 - 15:19
Project:Teleport
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:incidentist
Status:closed
Description

I think the LOWER in the alias query buys us a little compared to the performance hit it costs (no index is used). The other LOWER instances are more valuable.

#1

incidentist - October 12, 2008 - 23:02
Assigned to:Anonymous» incidentist

I turned "LOWER(dst)" into "dst" but kept the "LOWER('%%%s%%')". I think that removes the performance hit, since the alias index can be used, while still reducing capitalization issues.

#2

incidentist - October 13, 2008 - 04:12
Status:active» fixed

#3

Anonymous (not verified) - October 27, 2008 - 04:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.