Commit 76ddbf2f authored by eric@mysql.com's avatar eric@mysql.com

removed superfluous local variable

parent c15c2704
...@@ -2615,7 +2615,6 @@ int ha_federated::stash_remote_error() ...@@ -2615,7 +2615,6 @@ int ha_federated::stash_remote_error()
{ {
DBUG_ENTER("ha_federated::stash_remote_error()"); DBUG_ENTER("ha_federated::stash_remote_error()");
remote_error_number= mysql_errno(mysql); remote_error_number= mysql_errno(mysql);
const char *remote_error= mysql_error(mysql);
my_snprintf(remote_error_buf, sizeof(remote_error_buf), "%s", my_snprintf(remote_error_buf, sizeof(remote_error_buf), "%s",
mysql_error(mysql)); mysql_error(mysql));
DBUG_RETURN(HA_FEDERATED_ERROR_WITH_REMOTE_SYSTEM); DBUG_RETURN(HA_FEDERATED_ERROR_WITH_REMOTE_SYSTEM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment