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

Reply via email to