<?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>Share is null check</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:34 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7548</link> 
  <atom:link rel="self" type="application/rss+xml" title="Share is null check" href="https://bugs.horde.org/ticket/7548/rss" /> 
  <description>Share is null check</description> 
 
   
   
  <item> 
   <title>In revision 1.7 of sql_hierarchical.php the share selection </title> 
   <description>In revision 1.7 of sql_hierarchical.php the share selection query was modified to check both empty strings and null values for portability reasons. But we can check DB connection options to see, if we convert empty strings to null values or not. The patch looks the MDB2_PORTABILITY_EMPTY_TO_NULL options and adds the correct comparation.</description> 
   <pubDate>Thu, 23 Oct 2008 19:24:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7548#t49914</link> 
  </item> 
   
  <item> 
   <title>We actually don&#039;t set the MDB2_PORTABILITY_EMPTY_TO_NULL por</title> 
   <description>We actually don&#039;t set the MDB2_PORTABILITY_EMPTY_TO_NULL portability flag. This is intentional, I don&#039;t remember the details at the moment, but setting it caused all types of problems with existing queries elsewhere...hence the check for both &#039;&#039; and NULL.</description> 
   <pubDate>Fri, 24 Oct 2008 16:50:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7548#t49972</link> 
  </item> 
   
  <item> 
   <title>The main problem, here is that we force the db to do two ope</title> 
   <description>The main problem, here is that we force the db to do two operations. Additional, even checking only for null values, we do an full table scan, as NULL are actually not a value and the db will not use index.</description> 
   <pubDate>Fri, 31 Oct 2008 09:39:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7548#t50209</link> 
  </item> 
   
  <item> 
   <title>Duck, unless the DB driver sets that flag automatically, we </title> 
   <description>Duck, unless the DB driver sets that flag automatically, we need to check something else to see which query to run. Also, even if that flag is set, won&#039;t that just modify the result of the select, and not the actual comparison on the server itself?</description> 
   <pubDate>Thu, 06 Nov 2008 02:33:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7548#t50341</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
