~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/fsp/fsp0fsp.c

Tags: innodb-plugin-1.0.3
InnoDB Plugin 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************
 
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., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
 
16
 
 
17
*****************************************************************************/
 
18
 
1
19
/**********************************************************************
2
20
File space management
3
21
 
4
 
(c) 1995 Innobase Oy
5
 
 
6
22
Created 11/29/1995 Heikki Tuuri
7
23
***********************************************************************/
8
24
 
2211
2227
                /* This thread did not own the latch before this call: free
2212
2228
                excess pages from the insert buffer free list */
2213
2229
 
2214
 
                if (space == 0) {
2215
 
                        ibuf_free_excess_pages(0);
 
2230
                if (space == IBUF_SPACE_ID) {
 
2231
                        ibuf_free_excess_pages();
2216
2232
                }
2217
2233
        }
2218
2234
 
2788
2804
                /* This thread did not own the latch before this call: free
2789
2805
                excess pages from the insert buffer free list */
2790
2806
 
2791
 
                if (space == 0) {
2792
 
                        ibuf_free_excess_pages(0);
 
2807
                if (space == IBUF_SPACE_ID) {
 
2808
                        ibuf_free_excess_pages();
2793
2809
                }
2794
2810
        }
2795
2811