~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_changed.c

  • Committer: Brian Aker
  • Date: 2008-07-03 00:14:39 UTC
  • Revision ID: brian@tangent.org-20080703001439-pit0mcl0wk8elxlq
Cleanup of sql-common and mysqldump

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
}