diff options
author | unknown <monty@mashka.mysql.fi> | 2002-09-22 18:02:39 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2002-09-22 18:02:39 +0300 |
commit | 8b5ddf223d2152c3e5b974bf180f933616c7eba0 (patch) | |
tree | 7f6749bdfc76c04b8808fc36f0afc50291749ae8 /scripts | |
parent | 86ce202f6342714143e440d4b0310952f32dee63 (diff) | |
download | mariadb-git-8b5ddf223d2152c3e5b974bf180f933616c7eba0.tar.gz |
Don't give the anonymous user create temp table or lock tables privileges.
SET PASSWORD=... closed connection on error.
Docs/manual.texi:
Changelog
mysql-test/r/rpl_rotate_logs.result:
Fixed test
scripts/mysql_fix_privilege_tables.sh:
Don't give the anonymous user create temp table or lock tables privileges.
sql/set_var.cc:
SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
sql/set_var.h:
SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
sql/sql_acl.cc:
Added function comment
sql/sql_db.cc:
Change type of variable
sql/sql_parse.cc:
SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
tests/grant.pl:
Updated grant test case to work with latest MySQL version
tests/grant.res:
updated test results
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysql_fix_privilege_tables.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_fix_privilege_tables.sh b/scripts/mysql_fix_privilege_tables.sh index 74e00e2c75a..247e3399b8b 100644 --- a/scripts/mysql_fix_privilege_tables.sh +++ b/scripts/mysql_fix_privilege_tables.sh @@ -160,7 +160,7 @@ then echo "" echo "Updating new privileges in MySQL 4.0.2 from old ones" @bindir@/mysql --user=root --password="$root_password" --host="$host" mysql <<END_OF_DATA - update user set show_db_priv= select_priv, super_priv=process_priv, execute_priv=process_priv, create_tmp_table_priv='Y', Lock_tables_priv='Y', Repl_slave_priv=file_priv, Repl_client_priv=file_priv; + update user set show_db_priv= select_priv, super_priv=process_priv, execute_priv=process_priv, create_tmp_table_priv='Y', Lock_tables_priv='Y', Repl_slave_priv=file_priv, Repl_client_priv=file_priv where user<>""; END_OF_DATA echo "" fi |