~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_update.cc

  • Committer: Brian Aker
  • Date: 2009-03-27 22:55:28 UTC
  • mto: This revision was merged to the branch mainline in revision 968.
  • Revision ID: brian@tangent.org-20090327225528-8y76cfx8a4oemqv9
Remove ref_count

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* Update an old row in a MyISAM table */
17
17
 
18
18
#include "myisamdef.h"
 
19
#include <drizzled/util/test.h>
19
20
 
20
21
int mi_update(register MI_INFO *info, const unsigned char *oldrec, unsigned char *newrec)
21
22
{
154
155
    there is no index change there could be data change.
155
156
  */
156
157
  _mi_writeinfo(info, WRITEINFO_UPDATE_KEYFILE);
157
 
  if (info->invalidator != 0)
158
 
  {
159
 
    (*info->invalidator)(info->filename);
160
 
    info->invalidator=0;
161
 
  }
162
158
  return(0);
163
159
 
164
160
err: