~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_class.h

Removing redundant use of casts in drizzled/ for memcmp(), memcpy(), memset(), and memmove().
Adding non-const version of String::ptr() to provide covariance on const:ness.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1203
1203
    }
1204
1204
    st_transactions()
1205
1205
    {
1206
 
      memset((char*)this, 0, sizeof(*this));
 
1206
      memset(this, 0, sizeof(*this));
1207
1207
      xid_state.xid.null();
1208
1208
      init_sql_alloc(&mem_root, ALLOC_ROOT_MIN_BLOCK_SIZE, 0);
1209
1209
    }