diff options
author | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2008-02-24 13:58:07 +0100 |
---|---|---|
committer | unknown <tnurnberg@mysql.com/white.intern.koehntopp.de> | 2008-02-24 13:58:07 +0100 |
commit | a22c3d21096f827d4eb7dfc1b3546cb758123756 (patch) | |
tree | b3b7cfca22564f1b9a3e61043ec581ff23086753 /storage/example | |
parent | 72f1b329e16f8911cb445d11f2ad3367196f7737 (diff) | |
download | mariadb-git-a22c3d21096f827d4eb7dfc1b3546cb758123756.tar.gz |
Bug#32753: PAD_CHAR_TO_FULL_LENGTH is not documented and interferes with grant tables
SQL-mode PAD_CHAR_TO_FULL_LENGTH affected mysqld's user-table too. If
enabled, user-name and host were space-padded and no longer matched
the login-data of incoming connexions.
Patch disregards pad-flag while loading privileges so ability to log
in does not depend on SQL-mode.
mysql-test/r/sql_mode.result:
show that SQL-mode 'PAD_CHAR_TO_FULL_LENGTH' does not affect
loading of privileges (and by extension, ability to log in).
mysql-test/t/sql_mode.test:
show that SQL-mode 'PAD_CHAR_TO_FULL_LENGTH' does not affect
loading of privileges (and by extension, ability to log in).
sql/sql_acl.cc:
temporarily disable SQL-mode 'PAD_CHAR_TO_FULL_LENGTH' while
reloading privileges
Diffstat (limited to 'storage/example')
0 files changed, 0 insertions, 0 deletions