Understood, merging it on friday!
Thanks for the contribution.
//JT

On 20 apr 2013, at 03:50, "Xiaolan.Lee" <notifications@github.com<mailto:notifications@github.com>> wrote:


In lib/Connection.cpp:

> @@ -521,6 +521,12 @@ bool Connection::connect(const char *_host, int _port, const char *_username, co
>      m_dbgMethodProgress --;
>      return false;
>    }
> +  if (result == 0xfe)
> +  {
> +    setError ("You are using old password, please update it use PASSWORD(), other than OLD_PASSWORD().", 4, UME_OTHER);


Check out http://dev.mysql.com/doc/internals/en/connection-phase.html#packet-Protocol::AuthSwitchResponse and http://dev.mysql.com/doc/internals/en/connection-phase.htm#packet-Protocol::OldAuthSwitchRequest

—
Reply to this email directly or view it on GitHub<https://github.com/esnme/ultramysql/pull/30/files#r3884175>.