diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-05-21 13:03:37 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-05-21 13:03:37 +0200 |
commit | d6315e29c8a1d6a28f1d61184ff2e907494210e7 (patch) | |
tree | b0c3de52d62e0223165139bd29eb00008e1bf574 /storage/federatedx | |
parent | ec043aced0d34b96c7b7d92ce0cf199d6361eaa8 (diff) | |
download | mariadb-git-d6315e29c8a1d6a28f1d61184ff2e907494210e7.tar.gz |
MDEV-388 Creating a federated table with a non-existing server returns a random error code
(part 2)
Diffstat (limited to 'storage/federatedx')
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 2d6ae6ccc4d..aac2414bca1 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -585,9 +585,8 @@ int get_connection(MEM_ROOT *mem_root, FEDERATEDX_SHARE *share) DBUG_RETURN(0); error: - sprintf(error_buffer, "server name: '%s' doesn't exist!", - share->connection_string); - my_error(error_num, MYF(0), error_buffer); + my_printf_error(error_num, "server name: '%s' doesn't exist!", + MYF(0), share->connection_string); DBUG_RETURN(error_num); } |