List:Commits« Previous MessageNext Message »
From:msvensson Date:December 21 2005 2:53pm
Subject:bk commit into 4.1 tree (msvensson:1.2462) BUG#15775
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 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
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2462 05/12/21 15:53:49 msvensson@neptunus.(none) +1 -0
  Bug #15775 rpl000001 fails when running the whole testsuite

  sql/sql_acl.cc
    1.171 05/12/21 15:53:43 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/bug15775/my41-bug15775

--- 1.170/sql/sql_acl.cc	2005-11-14 13:33:52 +01:00
+++ 1.171/sql/sql_acl.cc	2005-12-21 15:53:43 +01:00
@@ -1151,7 +1151,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))
Thread
bk commit into 4.1 tree (msvensson:1.2462) BUG#15775msvensson21 Dec