~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Monty Taylor
  • Date: 2008-10-06 01:30:47 UTC
  • Revision ID: monty@inaugust.com-20081006013047-6m2ejc0c4peye2k9
Removed my_free(). It turns out that it had been def'd to ignore the flags passed to it in the second arg anyway. Gotta love that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
  /* Allocate a pointer array for the error message strings. */
304
304
  if (! (errmsgs= my_error_unregister(HA_ERR_FIRST, HA_ERR_LAST)))
305
305
    return 1;
306
 
  my_free((uchar*) errmsgs, MYF(0));
 
306
  free((uchar*) errmsgs);
307
307
  return 0;
308
308
}
309
309
 
326
326
  if (hton && plugin->plugin->deinit)
327
327
    (void)plugin->plugin->deinit(hton);
328
328
 
329
 
  my_free((uchar*)hton, MYF(0));
 
329
  free((uchar*)hton);
330
330
 
331
331
  return(0);
332
332
}
1345
1345
  plugin_foreach(NULL, xarecover_handlerton, 
1346
1346
                 DRIZZLE_STORAGE_ENGINE_PLUGIN, &info);
1347
1347
 
1348
 
  my_free((uchar*)info.list, MYF(0));
 
1348
  free((uchar*)info.list);
1349
1349
  if (info.found_foreign_xids)
1350
1350
    sql_print_warning(_("Found %d prepared XA transactions"), 
1351
1351
                      info.found_foreign_xids);
3140
3140
  build_table_filename(path, FN_REFLEN-1, db, name, "", 0);
3141
3141
  // Save the frm file
3142
3142
  error= writefrm(path, frmblob, frmlen);
3143
 
  my_free(frmblob, MYF(0));
 
3143
  free(frmblob);
3144
3144
  if (error)
3145
3145
    return(2);
3146
3146