Hi! On Mar 12, Simont Tyler wrote: > Just saw the following code in the MySQL 2.23.55 source code. > > The semi-colon after the if renders the if statement useless. Could > someone explain if it is intentional. The comment indicates that it > is. > > Simon > > /* > the following 'if', thought conceptually wrong, > is a useful optimization nevertheless. > */ > if (file->state != &file->s->state.state); > file->s->state.state = *file->state;
No, it's not intentional. I thought it was removed, but it looks like it was removed in 4.0 only :( Fixed, thanks. Regards, Sergei -- MySQL Development Team __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php