~drizzle-developers/ubuntu/karmic/drizzle/ppa

« back to all changes in this revision

Viewing changes to plugin/innobase/log/log0log.c

  • Committer: Monty Taylor
  • Date: 2010-11-24 18:44:57 UTC
  • mfrom: (1308.1.31 trunk)
  • Revision ID: mordred@inaugust.com-20101124184457-qd6jvoe2wgnvl3yq
Tags: 2010.11.04-0ubuntu1~karmic1
* New upstream release.
* Turn off -Werror for packaging builds. (Closes: #602662)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
4
 
 
5
 
This program is free software; you can redistribute it and/or modify it under
6
 
the terms of the GNU General Public License as published by the Free Software
7
 
Foundation; version 2 of the License.
8
 
 
9
 
This program is distributed in the hope that it will be useful, but WITHOUT
10
 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
 
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
 
 
13
 
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
16
 
 
17
 
*****************************************************************************/
18
 
/*****************************************************************************
19
 
 
20
 
Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1995, 2010, Innobase Oy. All Rights Reserved.
21
4
Copyright (c) 2009, Google Inc.
22
5
 
23
6
Portions of this file contain modifications contributed and copyrighted by
2013
1996
                return(TRUE);
2014
1997
        }
2015
1998
 
2016
 
        ut_ad(log_sys->written_to_all_lsn >= oldest_lsn);
 
1999
        ut_ad(log_sys->flushed_to_disk_lsn >= oldest_lsn);
2017
2000
 
2018
2001
        if (log_sys->n_pending_checkpoint_writes > 0) {
2019
2002
                /* A checkpoint write is running */
3095
3078
 
3096
3079
        if (srv_fast_shutdown < 2
3097
3080
           && (srv_error_monitor_active
3098
 
              || srv_lock_timeout_and_monitor_active)) {
 
3081
              || srv_lock_timeout_active || srv_monitor_active)) {
3099
3082
 
3100
3083
                mutex_exit(&kernel_mutex);
3101
3084