summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-08-07 14:39:34 +0200
committerunknown <serg@serg.mylan>2003-08-07 14:39:34 +0200
commit5d1724712843a26f101bd0390050f2ec434305f4 (patch)
treea1be71d1bfd9e14f23c459236b195c16612c385b
parenta2afee06dd24be31ffa91620a3f2a31759516857 (diff)
parent0a4730930044e78baae03296237830fc58c72672 (diff)
downloadmariadb-git-5d1724712843a26f101bd0390050f2ec434305f4.tar.gz
merged
Docs/Makefile.am: Auto merged acinclude.m4: Auto merged sql/sql_acl.cc: Auto merged
-rw-r--r--Docs/Makefile.am4
-rw-r--r--sql/sql_acl.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am
index 0beaa44c7eb..07dac2d9df1 100644
--- a/Docs/Makefile.am
+++ b/Docs/Makefile.am
@@ -41,10 +41,10 @@ paper: manual_a4.ps manual_letter.ps $(PDFMANUAL)
# The Makefile contains the previous version so we can not use that
include.texi: ../configure.in
echo "@c This file is autogenerated by the Makefile" > $@
- echo -n "@set mysql_version " >> $@
+ echo -n "@set mysqlversion " >> $@
grep "AM_INIT_AUTOMAKE(mysql, " ../configure.in | \
sed -e 's;AM_INIT_AUTOMAKE(mysql, ;;' -e 's;);;' >> $@
- echo -n "@set default_port " >> $@
+ echo -n "@set defaultport " >> $@
grep "MYSQL_TCP_PORT_DEFAULT=" ../configure.in | \
sed -e 's;MYSQL_TCP_PORT_DEFAULT=;;' >> $@
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 3a3de2abf10..714a416ab95 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -233,10 +233,10 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
"Found old style password for user '%s'. Ignoring user. (You may want to restart mysqld using --old-protocol)",
user.user ? user.user : ""); /* purecov: tested */
}
- else if (length % 8) // This holds true for passwords
+ else if (length % 8 || length > 16)
{
sql_print_error(
- "Found invalid password for user: '%s@%s'; Ignoring user",
+ "Found invalid password for user: '%s'@'%s'; Ignoring user",
user.user ? user.user : "",
user.host.hostname ? user.host.hostname : ""); /* purecov: tested */
continue; /* purecov: tested */