~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/ha/ha0ha.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:
77
77
#ifndef UNIV_HOTBACKUP
78
78
        hash_create_mutexes(table, n_mutexes, mutex_level);
79
79
 
80
 
        table->heaps = mem_alloc(n_mutexes * sizeof(void*));
 
80
        table->heaps = static_cast<mem_block_info_t **>(mem_alloc(n_mutexes * sizeof(mem_block_info_t *));
81
81
 
82
82
        for (i = 0; i < n_mutexes; i++) {
83
83
                table->heaps[i] = mem_heap_create_in_btr_search(4096);
159
159
 
160
160
        cell = hash_get_nth_cell(table, hash);
161
161
 
162
 
        prev_node = cell->node;
 
162
        prev_node = static_cast<ha_node_t *>(cell->node);
163
163
 
164
164
        while (prev_node != NULL) {
165
165
                if (prev_node->fold == fold) {