mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
manual merge
This commit is contained in:
@@ -481,6 +481,15 @@ HANDLE create_shared_memory(MYSQL *mysql,NET *net, uint connect_timeout)
|
||||
const char *prefix;
|
||||
int i;
|
||||
|
||||
/*
|
||||
If this is NULL, somebody freed the MYSQL* options. mysql_close()
|
||||
is a good candidate. We don't just silently (re)set it to
|
||||
def_shared_memory_base_name as that would create really confusing/buggy
|
||||
behavior if the user passed in a different name on the command-line or
|
||||
in a my.cnf.
|
||||
*/
|
||||
DBUG_ASSERT(shared_memory_base_name != NULL);
|
||||
|
||||
/*
|
||||
get enough space base-name + '_' + longest suffix we might ever send
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user