* Make metadata-based virtual containers case insensitive.

This commit is contained in:
Justin Maggard 2011-11-02 01:48:59 +00:00
parent 9a325e04b0
commit a9d2e6dd44

View File

@ -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" result = sql_get_text_field(db, "SELECT OBJECT_ID from OBJECTS"
" where PARENT_ID = '%s'" " where PARENT_ID = '%s'"
" and NAME = '%q'" " and NAME like '%q'"
" and CLASS = 'container.%s' limit 1", " and CLASS = 'container.%s' limit 1",
rootParent, item, class); rootParent, item, class);
if( result ) if( result )