~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/trx/trx0rseg.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1996, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (C) 1996, 2010, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
197
197
 
198
198
        ut_ad(mutex_own(&kernel_mutex));
199
199
 
200
 
        rseg = mem_zalloc(sizeof(trx_rseg_t));
 
200
        void *rseg_buf= mem_zalloc(sizeof(trx_rseg_t));
 
201
        rseg = static_cast<trx_rseg_t *>(rseg_buf);
201
202
 
202
203
        rseg->id = id;
203
204
        rseg->space = space;