]> andersk Git - moira.git/commitdiff
Add 2 missing LOWER()'s to fix non-recursive case of
authorzacheiss <zacheiss>
Fri, 2 Aug 2002 15:12:27 +0000 (15:12 +0000)
committerzacheiss <zacheiss>
Fri, 2 Aug 2002 15:12:27 +0000 (15:12 +0000)
get_subcontainers_of_container query.

server/qsupport.pc

index 8a441d3b0baab35fc3645be5856fc0236e8f4944..4d489953fa1336ab6e7150622a05364a5a15a5f9 100644 (file)
@@ -2113,7 +2113,7 @@ int get_subcontainers_of_container(struct query *q, char *argv[], client *cl,
   strcpy(querystring, "SELECT name FROM containers ");
   
   if (!isrecursive)
-    sprintf(tmp, "WHERE LOWER(name) LIKE '%s/%%' and name NOT LIKE LOWER('%s/%%/%%') ",
+    sprintf(tmp, "WHERE LOWER(name) LIKE LOWER('%s/%%') and LOWER(name) NOT LIKE LOWER('%s/%%/%%') ",
            containername, containername);
   else
     sprintf(tmp, "WHERE LOWER(name) LIKE LOWER('%s/%%') ", containername);
This page took 0.073772 seconds and 5 git commands to generate.