<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>SQL module&#039;s LIKE operator broken if LHS contains uppercase characters</title> 
  <pubDate>Sat, 04 Apr 2026 11:50:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2030</link> 
  <atom:link rel="self" type="application/rss+xml" title="SQL module&#039;s LIKE operator broken if LHS contains uppercase characters" href="https://bugs.horde.org/ticket/2030/rss" /> 
  <description>SQL module&#039;s LIKE operator broken if LHS contains uppercase characters</description> 
 
   
   
  <item> 
   <title>I&#039;m using Kronolith (with an Oracle backend) to search for e</title> 
   <description>I&#039;m using Kronolith (with an Oracle backend) to search for events with title &quot;Meeting&quot;.  This generates SQL similar to:



select * from kronolith_events where event_title like lower(&#039;%Meeting%&#039;);



This returns no results since my events use &quot;Meeting&quot; with a capital &quot;M&quot; and we search for &#039;%meeting%&#039; essentially.



framework/SQL/SQL.php says:



 case &#039;LIKE&#039;:

            if ($dbh-&gt;phptype == &#039;pgsql&#039;) {

                $query = &#039;%s ILIKE %s&#039;;

            } else {

                $query = &#039;%s LIKE LOWER(%s)&#039;;

            }



Why was the LOWER() function removed from the LHS in 1.20?



http://cvs.horde.org/diff.php/framework/SQL/SQL.php?r1=1.19&amp;r2=1.20&amp;ty=u



Any reason not revert that?</description> 
   <pubDate>Wed, 25 May 2005 10:20:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2030#t8534</link> 
  </item> 
   
  <item> 
   <title>It looks like I wasn&#039;t seeing a different between the two; t</title> 
   <description>It looks like I wasn&#039;t seeing a different between the two; the log doesn&#039;t have anything about a problem. I think it&#039;ll be fine.</description> 
   <pubDate>Wed, 25 May 2005 15:38:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2030#t8557</link> 
  </item> 
   
  <item> 
   <title>Fixed in 3.0.5 and HEAD.</title> 
   <description>Fixed in 3.0.5 and HEAD.</description> 
   <pubDate>Wed, 25 May 2005 16:10:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2030#t8568</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
