List:Internals« Previous MessageNext Message »
From:dlenev Date:September 23 2005 5:28pm
Subject:bk commit into 5.0 tree (dlenev:1.2001) BUG#13402
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of dlenev. When dlenev 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.2001 05/09/23 21:28:47 dlenev@stripped +1 -0
  Fix for yet another compilation failure on Windows which was introduced during
  work on WL#2787 "Add view definer/owner to the view definition (.frm) to check
  privileges on used tables and stored routines when using a VIEW."
  (aka bug #13402 "Windows VS 2003 Compiler error")

  sql/mysqld.cc
    1.503 05/09/23 21:28:42 dlenev@stripped +2 -2
    handle_connections_namedpipes():
      THD::host member has moved to the Security_context class.
      New THD::security_ctx member points to active security context.

# 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:	dlenev
# Host:	brandersnatch.localdomain
# Root:	/home/dlenev/src/mysql-5.0-bg13407

--- 1.502/sql/mysqld.cc	2005-09-23 17:09:59 +04:00
+++ 1.503/sql/mysqld.cc	2005-09-23 21:28:42 +04:00
@@ -4016,8 +4016,8 @@
       delete thd;
       continue;
     }
-    /* host name is unknown */
-    thd->host = my_strdup(my_localhost,MYF(0)); /* Host is unknown */
+    /* Host is unknown */
+    thd->security_ctx->host= my_strdup(my_localhost, MYF(0));
     create_new_thread(thd);
   }
 
Thread
bk commit into 5.0 tree (dlenev:1.2001) BUG#13402dlenev23 Sep
  • Re: bk commit into 5.0 tree (dlenev:1.2001) BUG#13402SGreen23 Sep
    • Re: bk commit into 5.0 tree (dlenev:1.2001) BUG#13402Dmitri Lenev28 Sep
      • Re: bk commit into 5.0 tree (dlenev:1.2001) BUG#13402SGreen28 Sep