~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_delete_all.cc

  • Committer: Mark Atwood
  • Date: 2011-09-14 03:30:42 UTC
  • mfrom: (2409.2.6 refactor7)
  • Revision ID: me@mark.atwood.name-20110914033042-2u0s8foaigvf62g2
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    If we are using delayed keys or if the user has done changes to the tables
51
51
    since it was locked then there may be key blocks in the key cache
52
52
  */
53
 
  flush_key_blocks(share->getKeyCache(), share->kfile, FLUSH_IGNORE_CHANGED);
54
53
  if (ftruncate(info->dfile, 0) || ftruncate(share->kfile, share->base.keystart))
55
54
    goto err;
56
55
  _mi_writeinfo(info,WRITEINFO_UPDATE_KEYFILE);