From a9d2e6dd44e3a63195cfdf5a54577076be6b7cf0 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Wed, 2 Nov 2011 01:48:59 +0000 Subject: [PATCH] * Make metadata-based virtual containers case insensitive. --- scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner.c b/scanner.c index 45f9f69..75ac7b2 100644 --- a/scanner.c +++ b/scanner.c @@ -90,7 +90,7 @@ insert_container(const char * item, const char * rootParent, const char * refID, result = sql_get_text_field(db, "SELECT OBJECT_ID from OBJECTS" " where PARENT_ID = '%s'" - " and NAME = '%q'" + " and NAME like '%q'" " and CLASS = 'container.%s' limit 1", rootParent, item, class); if( result )