~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to storage/ndb/src/kernel/blocks/lgman.cpp

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2003 MySQL AB
 
1
/* Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
 
   This program is free software; you can redistribute it and/or modify
4
 
   it under the terms of the GNU General Public License as published by
5
 
   the Free Software Foundation; version 2 of the License.
 
3
   This program is free software; you can redistribute it and/or
 
4
   modify it under the terms of the GNU General Public License
 
5
   as published by the Free Software Foundation; version 2 of
 
6
   the License.
6
7
 
7
8
   This program is distributed in the hope that it will be useful,
8
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
11
   GNU General Public License for more details.
11
12
 
12
13
   You should have received a copy of the GNU General Public License
13
14
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 
16
   02110-1301  USA */
15
17
 
16
18
#include "lgman.hpp"
17
19
#include "diskpage.hpp"
2501
2503
    sendSignal(reference(), GSN_CONTINUEB, signal, 2, JBB);
2502
2504
    
2503
2505
    /**
2504
 
     * Insert in correct postion in list of logfile_group's
 
2506
     * Insert in correct position in list of logfile_group's
2505
2507
     */
2506
2508
    Ptr<Logfile_group> pos;
2507
2509
    for(tmp.first(pos); !pos.isNull(); tmp.next(pos))