mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
commit
8ae8cd6348
288 changed files with 1987 additions and 2427 deletions
|
|
@ -614,8 +614,8 @@ int get_connection(MEM_ROOT *mem_root, FEDERATED_SHARE *share)
|
|||
error_num=1;
|
||||
goto error;
|
||||
}
|
||||
DBUG_PRINT("info", ("get_server_by_name returned server at %lx",
|
||||
(long unsigned int) server));
|
||||
DBUG_PRINT("info", ("get_server_by_name returned server at %p",
|
||||
server));
|
||||
|
||||
/*
|
||||
Most of these should never be empty strings, error handling will
|
||||
|
|
@ -716,15 +716,15 @@ static int parse_url(MEM_ROOT *mem_root, FEDERATED_SHARE *share, TABLE *table,
|
|||
|
||||
share->port= 0;
|
||||
share->socket= 0;
|
||||
DBUG_PRINT("info", ("share at %lx", (long unsigned int) share));
|
||||
DBUG_PRINT("info", ("share at %p", share));
|
||||
DBUG_PRINT("info", ("Length: %u", (uint) table->s->connect_string.length));
|
||||
DBUG_PRINT("info", ("String: '%.*s'", (int) table->s->connect_string.length,
|
||||
table->s->connect_string.str));
|
||||
share->connection_string= strmake_root(mem_root, table->s->connect_string.str,
|
||||
table->s->connect_string.length);
|
||||
|
||||
DBUG_PRINT("info",("parse_url alloced share->connection_string %lx",
|
||||
(long unsigned int) share->connection_string));
|
||||
DBUG_PRINT("info",("parse_url alloced share->connection_string %p",
|
||||
share->connection_string));
|
||||
|
||||
DBUG_PRINT("info",("share->connection_string %s",share->connection_string));
|
||||
/*
|
||||
|
|
@ -737,9 +737,9 @@ static int parse_url(MEM_ROOT *mem_root, FEDERATED_SHARE *share, TABLE *table,
|
|||
|
||||
DBUG_PRINT("info",
|
||||
("share->connection_string %s internal format \
|
||||
share->connection_string %lx",
|
||||
share->connection_string %p",
|
||||
share->connection_string,
|
||||
(long unsigned int) share->connection_string));
|
||||
share->connection_string));
|
||||
|
||||
/* ok, so we do a little parsing, but not completely! */
|
||||
share->parsed= FALSE;
|
||||
|
|
@ -793,8 +793,8 @@ static int parse_url(MEM_ROOT *mem_root, FEDERATED_SHARE *share, TABLE *table,
|
|||
// Add a null for later termination of table name
|
||||
share->connection_string[table->s->connect_string.length]= 0;
|
||||
share->scheme= share->connection_string;
|
||||
DBUG_PRINT("info",("parse_url alloced share->scheme %lx",
|
||||
(long unsigned int) share->scheme));
|
||||
DBUG_PRINT("info",("parse_url alloced share->scheme %p",
|
||||
share->scheme));
|
||||
|
||||
/*
|
||||
remove addition of null terminator and store length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue