diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-26 19:17:26 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-26 19:17:26 +0100 |
commit | 102a7a2a763dc5f2da8dd1f9ca9a53664c5aad6a (patch) | |
tree | a429a21c3d37fd739f48258828398cbe83201d5a /sql-common | |
parent | 1d46ee77d1bc4e5938d45066570fb709bf8518c0 (diff) | |
download | mariadb-git-102a7a2a763dc5f2da8dd1f9ca9a53664c5aad6a.tar.gz |
MDEV-4307 Support at least 48 utf8 characters in username in server and PAM
Extend plugin auth api to support up to 512 bytes in the user names.
Use the API versioning to support old auth plugins too!
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index c257c7c96a7..3119236ef2d 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -2572,8 +2572,6 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio, mysql->server_version, mysql->server_capabilities, mysql->server_status, mysql->client_flag)); - compile_time_assert(MYSQL_USERNAME_LENGTH == USERNAME_LENGTH); - /* This needs to be changed as it's not useful with big packets */ if (mysql->user[0]) strmake(end, mysql->user, USERNAME_LENGTH); |