~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_delete_all.cc

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
  if (share->options & HA_OPTION_READ_ONLY_DATA)
28
28
  {
29
 
    return(my_errno=EACCES);
 
29
    return(errno=EACCES);
30
30
  }
31
31
  if (_mi_readinfo(info,F_WRLCK,1))
32
 
    return(my_errno);
 
32
    return(errno);
33
33
  if (_mi_mark_file_changed(info))
34
34
    goto err;
35
35
 
58
58
 
59
59
err:
60
60
  {
61
 
    int save_errno=my_errno;
 
61
    int save_errno=errno;
62
62
    _mi_writeinfo(info,WRITEINFO_UPDATE_KEYFILE);
63
63
    info->update|=HA_STATE_WRITTEN;     /* Buffer changed */
64
 
    return(my_errno=save_errno);
 
64
    return(errno=save_errno);
65
65
  }
66
66
} /* mi_delete */