~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/read/read0read.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:00:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226030037-2qcfxg5ryamekd56
Cleaned through ha0ha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        view = static_cast<read_view_t *>(mem_heap_alloc(heap, sizeof(read_view_t)));
153
153
 
154
154
        view->n_trx_ids = n;
155
 
        view->trx_ids = static_cast<trx_id_t *>(mem_heap_alloc(heap, n * sizeof *view->trx_ids));
 
155
        view->trx_ids = static_cast<unsigned long *>(mem_heap_alloc(heap, n * sizeof *view->trx_ids));
156
156
 
157
157
        return(view);
158
158
}