1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
unknown d899c7ff5e Bug#16297 In memory grant tables not flushed when users's hostname is ""
- In function 'handle_grant_struct' when searching the memory structures for an 
   entry to modify, convert all entries here host.hostname is NULL to "" and compare that 
   with the host passed in argument "user_from".
 - A user created with hostname "" is stored in "mysql.user" table as host="" but when loaded into 
   memory it'll be stored as host.hostname NULL. Specifiying "" as hostname means
   that "any host" can connect. Thus is's correct to turn on allow_all_hosts
   when such a user is found. 
 - Review and fix other places where host.hostname may be NULL.


mysql-test/init_db.sql:
  Rename: BitKeeper/deleted/.del-init_db.sql~af2dfeabaa348dd7 -> mysql-test/init_db.sql
mysql-test/r/grant.result:
  Add test cases for users with hostname ""
mysql-test/t/grant.test:
  Add test cases for users with hostname ""
   - Test create, grant and drop as well as connecting as the user with hostname "".
sql/sql_acl.cc:
  Convert places where host.hostname is NULL to "" before using it.
2006-05-23 11:35:14 +02:00
..
2005-11-26 08:54:13 +01:00
2005-12-20 12:42:35 -06:00
2005-09-30 14:03:55 +02:00
2005-11-03 22:42:25 +02:00
2005-11-26 08:54:13 +01:00
2005-08-12 13:54:42 +03:00
2005-07-25 12:57:23 -07:00
2005-10-15 14:32:37 -07:00
2005-12-11 22:21:19 -08:00
2005-06-07 00:31:53 +03:00
2005-11-17 11:11:48 +01:00
2006-01-06 00:47:49 +02:00
2005-10-27 15:15:01 +03:00
2005-11-04 02:17:11 +01:00
2005-10-19 01:52:06 +04:00
2006-01-06 00:47:49 +02:00
2005-10-12 00:58:22 +03:00
2005-06-07 00:31:53 +03:00
2006-01-06 14:30:25 +01:00
2005-05-26 21:01:55 +02:00
2005-12-18 15:26:37 +01:00
2005-08-12 17:57:19 +03:00
2006-01-09 21:44:42 -08:00
2005-12-14 01:21:56 +02:00
2005-07-31 12:49:55 +03:00
2005-06-01 16:35:09 +03:00
2005-12-06 08:19:23 +01:00