~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_changed.c

  • Committer: Toru Maesaka
  • Date: 2008-07-17 05:59:20 UTC
  • mto: (202.1.1 toru)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: dev@torum.net-20080717055920-10okif50x6nh7b1d
forgot to bzr-add new files in the previous push

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
int mi_is_changed(MI_INFO *info)
23
23
{
24
24
  int result;
 
25
  DBUG_ENTER("mi_is_changed");
25
26
  if (fast_mi_readinfo(info))
26
 
    return(-1);
27
 
  _mi_writeinfo(info,0);
 
27
    DBUG_RETURN(-1);
 
28
  VOID(_mi_writeinfo(info,0));
28
29
  result=(int) info->data_changed;
29
30
  info->data_changed=0;
30
 
  return(result);
 
31
  DBUG_PRINT("exit",("result: %d",result));
 
32
  DBUG_RETURN(result);
31
33
}