~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-12-28 17:42:52 UTC
  • mfrom: (2023.3.32 innodb-cxx)
  • Revision ID: kalebral@gmail.com-20101228174252-fy2isiqdaphf2gl3
Merge Monty, move innobase from C to C++

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 = static_cast<rw_lock_t *>(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);
444
444
/*==============================*/
445
445
        btr_search_t*   info,   /*!< in: search info */
446
446
        buf_block_t*    block,  /*!< in: buffer block */
447
 
        btr_cur_t*      cursor __attribute__((unused)))
 
447
        btr_cur_t*      /*cursor __attribute__((unused))*/)
448
448
                                /*!< in: cursor */
449
449
{
450
450
#ifdef UNIV_SYNC_DEBUG