~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.h

  • 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:
937
937
  static void operator delete(void *ptr,
938
938
                              size_t size __attribute__((unused)))
939
939
  {
940
 
    my_free((uchar*) ptr, MYF(MY_WME|MY_ALLOW_ZERO_PTR));
 
940
    free((uchar*) ptr);
941
941
  }
942
942
 
943
943
  /* Placement version of the above operators */
980
980
  {
981
981
    if (temp_buf)
982
982
    {
983
 
      my_free(temp_buf, MYF(0));
 
983
      free(temp_buf);
984
984
      temp_buf = 0;
985
985
    }
986
986
  }
1579
1579
  ~Query_log_event()
1580
1580
  {
1581
1581
    if (data_buf)
1582
 
      my_free((uchar*) data_buf, MYF(0));
 
1582
      free((uchar*) data_buf);
1583
1583
  }
1584
1584
  Log_event_type get_type_code() { return QUERY_EVENT; }
1585
1585
#ifndef DRIZZLE_CLIENT
2131
2131
                               *description_event);
2132
2132
  ~Format_description_log_event()
2133
2133
  {
2134
 
    my_free((uchar*)post_header_len, MYF(MY_ALLOW_ZERO_PTR));
 
2134
    free((uchar*)post_header_len);
2135
2135
  }
2136
2136
  Log_event_type get_type_code() { return FORMAT_DESCRIPTION_EVENT;}
2137
2137
#ifndef DRIZZLE_CLIENT
2522
2522
  ~Rotate_log_event()
2523
2523
  {
2524
2524
    if (flags & DUP_NAME)
2525
 
      my_free((uchar*) new_log_ident, MYF(MY_ALLOW_ZERO_PTR));
 
2525
      free((uchar*) new_log_ident);
2526
2526
  }
2527
2527
  Log_event_type get_type_code() { return ROTATE_EVENT;}
2528
2528
  int get_data_size() { return  ident_len + ROTATE_HEADER_LEN;}
2583
2583
                        const Format_description_log_event* description_event);
2584
2584
  ~Create_file_log_event()
2585
2585
  {
2586
 
    my_free((char*) event_buf, MYF(MY_ALLOW_ZERO_PTR));
 
2586
    free((char*) event_buf);
2587
2587
  }
2588
2588
 
2589
2589
  Log_event_type get_type_code()