Navigation Menu

Skip to content

Commit

Permalink
move lock_data_init position
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentoku committed Dec 7, 2011
1 parent 871f4c2 commit 28308db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -2617,10 +2617,10 @@ int ha_mroonga::open(const char *name, int mode, uint test_if_locked)
{
int error = 0;
MRN_DBUG_ENTER_METHOD();
thr_lock_data_init(&share->lock,&thr_lock_data,NULL);

if (!(share = mrn_get_share(name, table, &error)))
DBUG_RETURN(error);
thr_lock_data_init(&share->lock,&thr_lock_data,NULL);

if (share->wrapper_mode)
{
Expand Down

0 comments on commit 28308db

Please sign in to comment.