List:Commits« Previous MessageNext Message »
From:reggie Date:June 7 2007 4:26pm
Subject:bk commit into 5.0 tree ("Reggie":1.2520) BUG#24731
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of . When  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@stripped, 2007-06-07 09:13:56-05:00, "Reggie"@xp. +1 -0
  Bug #24731 Shared memory connections do not work with MySql ran as service on Vista
  
  The events were not being opened in the global namespace.

  sql-common/client.c@stripped, 2007-06-07 07:27:07-05:00, Reggie@xp. +3 -3
    Add Global\\ to the event names so they are opened in the global namespace

# 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:	xp.
# Root:	C:/work/mysql-5.0-maint

--- 1.113/sql-common/client.c	2007-05-24 13:51:35 -05:00
+++ 1.114/sql-common/client.c	2007-06-07 07:27:07 -05:00
@@ -416,7 +416,7 @@
     shared_memory_base_name is unique value for each server
     unique_part is uniquel value for each object (events and file-mapping)
   */
-  suffix_pos = strxmov(tmp,shared_memory_base_name,"_",NullS);
+  suffix_pos = strxmov(tmp, "Global\\", shared_memory_base_name, "_", NullS);
   strmov(suffix_pos, "CONNECT_REQUEST");
   if (!(event_connect_request= OpenEvent(event_access_rights, FALSE, tmp)))
   {
@@ -470,8 +470,8 @@
     unique_part is uniquel value for each object (events and file-mapping)
     number_of_connection is number of connection between server and client
   */
-  suffix_pos = strxmov(tmp,shared_memory_base_name,"_",connect_number_char,
-		       "_",NullS);
+  suffix_pos = strxmov(tmp, "Global\\", shared_memory_base_name, "_",
connect_number_char,
+		       "_", NullS);
   strmov(suffix_pos, "DATA");
   if ((handle_file_map = OpenFileMapping(FILE_MAP_WRITE,FALSE,tmp)) == NULL)
   {

Thread
bk commit into 5.0 tree ("Reggie":1.2520) BUG#24731reggie7 Jun