Navigation Menu

Skip to content

Commit

Permalink
Reduce scope
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 15, 2014
1 parent aa02359 commit 23086c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -5295,7 +5295,6 @@ int ha_mroonga::storage_write_row(uchar *buf)
}
}

st_mrn_slot_data *slot_data;
if ((error = storage_write_row_unique_indexes(buf)))
{
goto err1;
Expand Down Expand Up @@ -5409,6 +5408,7 @@ int ha_mroonga::storage_write_row(uchar *buf)
}

// for UDF last_insert_grn_id()
st_mrn_slot_data *slot_data;
slot_data = mrn_get_slot_data(thd, true);
if (slot_data == NULL) {
error = HA_ERR_OUT_OF_MEM;
Expand Down

0 comments on commit 23086c4

Please sign in to comment.