Navigation Menu

Skip to content

Commit

Permalink
fix wrong variable type. fix #1032
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 13, 2011
1 parent c8e1db0 commit 05d4221
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ha_mroonga.cc
Expand Up @@ -4854,14 +4854,14 @@ handler *ha_mroonga::storage_clone(const char *name, MEM_ROOT *mem_root)
handler *ha_mroonga::clone(const char *name, MEM_ROOT *mem_root)
{
MRN_DBUG_ENTER_METHOD();
int error;
handler *cloned_handler;
if (share->wrapper_mode)
{
error = wrapper_clone(name, mem_root);
cloned_handler = wrapper_clone(name, mem_root);
} else {
error = storage_clone(name, mem_root);
cloned_handler = storage_clone(name, mem_root);
}
DBUG_RETURN(error);
DBUG_RETURN(cloned_handler);
}
#else
handler *ha_mroonga::wrapper_clone(MEM_ROOT *mem_root)
Expand Down

0 comments on commit 05d4221

Please sign in to comment.