mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 20:11:42 +01:00
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into xp.:C:/work/mysql-5.0-maint
This commit is contained in:
commit
dc26661680
1 changed files with 3 additions and 3 deletions
|
@ -416,7 +416,7 @@ HANDLE create_shared_memory(MYSQL *mysql,NET *net, uint connect_timeout)
|
||||||
shared_memory_base_name is unique value for each server
|
shared_memory_base_name is unique value for each server
|
||||||
unique_part is uniquel value for each object (events and file-mapping)
|
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");
|
strmov(suffix_pos, "CONNECT_REQUEST");
|
||||||
if (!(event_connect_request= OpenEvent(event_access_rights, FALSE, tmp)))
|
if (!(event_connect_request= OpenEvent(event_access_rights, FALSE, tmp)))
|
||||||
{
|
{
|
||||||
|
@ -470,7 +470,7 @@ HANDLE create_shared_memory(MYSQL *mysql,NET *net, uint connect_timeout)
|
||||||
unique_part is uniquel value for each object (events and file-mapping)
|
unique_part is uniquel value for each object (events and file-mapping)
|
||||||
number_of_connection is number of connection between server and client
|
number_of_connection is number of connection between server and client
|
||||||
*/
|
*/
|
||||||
suffix_pos = strxmov(tmp,shared_memory_base_name,"_",connect_number_char,
|
suffix_pos = strxmov(tmp, "Global\\", shared_memory_base_name, "_", connect_number_char,
|
||||||
"_", NullS);
|
"_", NullS);
|
||||||
strmov(suffix_pos, "DATA");
|
strmov(suffix_pos, "DATA");
|
||||||
if ((handle_file_map = OpenFileMapping(FILE_MAP_WRITE,FALSE,tmp)) == NULL)
|
if ((handle_file_map = OpenFileMapping(FILE_MAP_WRITE,FALSE,tmp)) == NULL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue