Navigation Menu

Skip to content

Commit

Permalink
call MRN_DBUG_ENTER_METHOD() at the head.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 13, 2011
1 parent 1e87611 commit 3b6e7d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ha_mroonga.cc
Expand Up @@ -3572,9 +3572,10 @@ int ha_mroonga::wrapper_get_record_id(uchar *data, grn_id *record_id,

int ha_mroonga::wrapper_update_row(const uchar *old_data, uchar *new_data)
{
MRN_DBUG_ENTER_METHOD();

int error = 0;
THD *thd = ha_thd();
MRN_DBUG_ENTER_METHOD();
MRN_SET_WRAP_SHARE_KEY(share, table->s);
MRN_SET_WRAP_TABLE_KEY(this, table);
tmp_disable_binlog(thd);
Expand Down Expand Up @@ -3912,9 +3913,10 @@ int ha_mroonga::update_row(const uchar *old_data, uchar *new_data)

int ha_mroonga::wrapper_delete_row(const uchar *buf)
{
MRN_DBUG_ENTER_METHOD();

int error = 0;
THD *thd= ha_thd();
MRN_DBUG_ENTER_METHOD();
MRN_SET_WRAP_SHARE_KEY(share, table->s);
MRN_SET_WRAP_TABLE_KEY(this, table);
tmp_disable_binlog(thd);
Expand Down

0 comments on commit 3b6e7d5

Please sign in to comment.