summaryrefslogtreecommitdiff
path: root/storage/federated
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-10-02 22:35:13 +0400
committerAlexander Barkov <bar@mariadb.org>2017-10-02 22:35:13 +0400
commit8ae8cd63485eb063de0b70ea6f3acf7102a61fef (patch)
tree70fa448baa769b6c8c331063a61bf929ad61c976 /storage/federated
parent6857cb57fe7090f131b272f31485b7a478a0b324 (diff)
parent387bdf07ae0973bc3e4dc3f5064d2a29c64bb769 (diff)
downloadmariadb-git-8ae8cd63485eb063de0b70ea6f3acf7102a61fef.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'storage/federated')
-rw-r--r--storage/federated/ha_federated.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc
index 059113e2fa5..e6fbceb4af2 100644
--- a/storage/federated/ha_federated.cc
+++ b/storage/federated/ha_federated.cc
@@ -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