cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Øyvind Harboe" <oyvind.har...@zylin.com>
Subject Re: Is matchExp case insensitive or not?
Date Wed, 02 Aug 2006 13:55:22 GMT
> Again, if it were me, and I was knowledgable about the specific
> database being used, I'd try to go through and first replace all
> "match everything" wildcard symbols with "match one" wildcard symbols
> to decrease the amount of returned results.

This only complicates the code when I don't care about passwords or
usernames that contain wildcard symbols.

> I don't understand your comment about comparing against only the first
> result.   You'd have to compare until you found a match or until you
> were sure that nothing matched.

I don't need to worry about multiple results due to wildcards. I need
to worry about duplicate records in the user database(bug-by-bug
compatibility).


-- 
Øyvind Harboe
http://www.zylin.com

Mime
View raw message