Navigation Menu

Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 17, 2017
1 parent cf46690 commit c938078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -15169,7 +15169,7 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
if (error) {
break;
}
mrn::SmartBitmap generated_column_bitmap(&generated_column_bitmap);
mrn::SmartBitmap smart_generated_column_bitmap(&generated_column_bitmap);
bitmap_set_bit(&generated_column_bitmap, field->field_index);
# endif

Expand Down
6 changes: 3 additions & 3 deletions lib/mrn_smart_bitmap.cpp
Expand Up @@ -26,16 +26,16 @@ namespace mrn {

SmartBitmap::~SmartBitmap() {
if (bitmap_) {
my_bitmap_free(bitmap_);
bitmap_free(bitmap_);
}
}

MY_BITMAP *SmartBitmap::get() {
return bitamp_;
return bitmap_;
}

MY_BITMAP *SmartBitmap::release() {
MY_BITMAP *bitmap = ;
MY_BITMAP *bitmap = bitmap_;
bitmap_ = NULL;
return bitmap;
}
Expand Down

0 comments on commit c938078

Please sign in to comment.