~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/btr/btr0sea.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 00:22:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226002234-2sb62sm2gs0iftuy
Fixing some of the innodb c++ casting issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        /* We allocate the search latch from dynamic memory:
172
172
        see above at the global variable definition */
173
173
 
174
 
        btr_search_latch_temp = (rw_lock_t *)mem_alloc(sizeof(rw_lock_t));
 
174
        btr_search_latch_temp = mem_alloc(sizeof(rw_lock_t));
175
175
 
176
176
        rw_lock_create(btr_search_latch_key, &btr_search_latch,
177
177
                       SYNC_SEARCH_SYS);