~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_changed.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 18:10:38 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705181038-0ih0nnamu5qrut0y
Fixed prototypes. Cleaned define a little bit.

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
}