Today a little history lesson.
I was on a quest to find the origin of this line in include/mysql_com.h:
#define CLIENT_LONG_PASSWORD 1 /* new more secure passwords */
“new” ? “more secure” ?
These CLIENT_*
flags are used between client and
server to negotiate what capabilities they support. It allows the
server to add new features to the protocol and let’s the client
add support for it along the way. MySQL 5.5.x has 21 of these
flags.
But back to CLIENT_LONG_PASSWORD
and its wonderful
comment. What would one expect if someone reads “new” and “more
secure”?
new
Well, let’s check the file history:
$ bzr blame include/mysql_com.h
2 bk@work | #define CLIENT_LONG_PASSWORD 1 …
[Read more]