~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/row/row0purge.cc

  • Committer: Monty Taylor
  • Date: 2010-12-24 02:13:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101224021305-e3slv1cyjczqorij
Changed the bzrignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
        ut_ad(parent && heap);
80
80
 
81
 
        node = static_cast<purge_node_t *>(mem_heap_alloc(heap, sizeof(purge_node_t)));
 
81
        node = mem_heap_alloc(heap, sizeof(purge_node_t));
82
82
 
83
83
        node->common.type = QUE_NODE_PURGE;
84
84
        node->common.parent = parent;
380
380
        pcur.btr_cur.purge_node = node;
381
381
        /* Set the query thread, so that ibuf_insert_low() will be
382
382
        able to invoke thd_get_trx(). */
383
 
        pcur.btr_cur.thr = static_cast<que_thr_t *>(que_node_get_parent(node));
 
383
        pcur.btr_cur.thr = que_node_get_parent(node);
384
384
 
385
385
        search_result = row_search_index_entry(
386
386
                index, entry, BTR_MODIFY_LEAF | BTR_DELETE, &pcur, &mtr);
802
802
 
803
803
        ut_ad(thr);
804
804
 
805
 
        node = static_cast<purge_node_t *>(thr->run_node);
 
805
        node = thr->run_node;
806
806
 
807
807
        ut_ad(que_node_get_type(node) == QUE_NODE_PURGE);
808
808