Fwd: #747 [NEW]: using an index on some regular expressions
am 08.07.2003 07:45:35 von miguel solorzanoHi,
PeterG,
Could you please comment this bug and the bug #746.
Thank you in advance.
>Date: 28 Jun 2003 13:44:25 -0000
>To: dev-bugs@mysql.com
>Subject: #747 [NEW]: using an index on some regular expressions
>From: Bug Database
From: Daniel Penning
>Priority: Low
>Status: Open
>Severity: Feature request
>Category: Server
>Reported by: User
>Reported at:
>Email subject:
>Email date:
>Release:
>Operating system:
>
>Bug description: using an index on some regular expressions
>
>Description:
>regular expressions starting with constant characters and those starting
>with a small character range (e.g. [a-d].*) should be able to use an index
>to speed up the search.
>
>while this performance improvement is not implemented a workarround should
>be mentionend into the documentation:
>
>SELECT * FROM foo WHERE bar RLIKE 't[aeiou].*'
>should be changed to
>SELECT * FROM foo WHERE bar LIKE 't%' AND bar RLIKE 't[aeiou].*'
>
>How to repeat:
>-
>
>Suggested fix:
--=20
Regards,
For technical support contracts, visit https://order.mysql.com/
Are you MySQL certified?, http://www.mysql.com/certification/
Miguel Angel Sol=F3rzano
S=E3o Paulo - Brazil
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=3Dgcdmb-bugs@m.gmane.org