I see how you could, say, drop a user from the users table using this; but how would you fix a login bug like the one under discussion?
EXPLAIN SELECT username FROM users WHERE username = $dc_user
CREATE INDEX users_username ON users(username)
If you meant "How do you find out it was in the registration check?", that's what the slow query log and query profilers are for...
I see how you could, say, drop a user from the users table using this; but how would you fix a login bug like the one under discussion?