List:Commits« Previous MessageNext Message »
From:msvensson Date:December 21 2005 9:40am
Subject:bk commit into 5.0 tree (msvensson:1.1997) BUG#15775
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

  1.1997 05/12/21 10:40:27 msvensson@neptunus.(none) +1 -0
  Bug #15775 rpl000001 fails when running the whole testsuite

    1.185 05/12/21 10:40:21 msvensson@neptunus.(none) +1 -1
    Use acl_user->host.hostname when performing hash_search to see if host is already in acl_check_hosts hash.
    Thus only one entry for each unique hostname will be put in the hash.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0

--- 1.184/sql/	2005-12-06 17:04:21 +01:00
+++ 1.185/sql/	2005-12-21 10:40:21 +01:00
@@ -1283,7 +1283,7 @@
 	if (j == acl_wild_hosts.elements)	// If new
 	  (void) push_dynamic(&acl_wild_hosts,(char*) &acl_user->host);
-      else if (!hash_search(&acl_check_hosts,(byte*) &acl_user->host,
+      else if (!hash_search(&acl_check_hosts,(byte*) acl_user->host.hostname,
 			    (uint) strlen(acl_user->host.hostname)))
 	if (my_hash_insert(&acl_check_hosts,(byte*) acl_user))
bk commit into 5.0 tree (msvensson:1.1997) BUG#15775msvensson21 Dec