List:Internals« Previous MessageNext Message »
From:reggie Date:May 26 2005 9:04pm
Subject:bk commit into 4.1 tree (reggie:1.2299) BUG#10181
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of reggie. When reggie 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.2299 05/05/26 14:02:18 reggie@mdk10.(none) +1 -0
  Bug #10181 mysqld.exe crash with an access violation after INSERT INTO mysql.host 
  
  sql_acl.cc:
    Make sure host.db is a valid string pointer before we do our lower_case_table_names
comparison

  sql/sql_acl.cc
    1.163 05/05/26 14:01:18 reggie@mdk10.(none) +1 -1
    Make sure host.db is a valid string pointer before we do our lower_case_table_names
comparison

# 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:	reggie
# Host:	mdk10.(none)
# Root:	/home/reggie/bk/41test3

--- 1.162/sql/sql_acl.cc	2005-03-26 13:05:07 -06:00
+++ 1.163/sql/sql_acl.cc	2005-05-26 14:01:18 -05:00
@@ -198,7 +198,7 @@
     ACL_HOST host;
     update_hostname(&host.host,get_field(&mem, table->field[0]));
     host.db=	 get_field(&mem, table->field[1]);
-    if (lower_case_table_names)
+    if (lower_case_table_names && host.db)
     {
       /*
        We make a temporary copy of the database, force it to lower case,
Thread
bk commit into 4.1 tree (reggie:1.2299) BUG#10181reggie27 May