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

« back to all changes in this revision

Viewing changes to storage/innobase/include/buf0buf.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
        ulint           line,   /* in: line where called */
177
177
        mtr_t*          mtr);   /* in: mini-transaction */
178
178
/************************************************************************
179
 
Tries to get the page, but if file io is required, releases all latches
180
 
in mtr down to the given savepoint. If io is required, this function
181
 
retrieves the page to buffer buf_pool, but does not bufferfix it or latch
182
 
it. */
183
 
UNIV_INLINE
184
 
buf_frame_t*
185
 
buf_page_get_release_on_io(
186
 
/*=======================*/
187
 
                                /* out: pointer to the frame, or NULL
188
 
                                if not in buffer buf_pool */
189
 
        ulint   space,          /* in: space id */
190
 
        ulint   offset,         /* in: offset of the page within space
191
 
                                in units of a page */
192
 
        buf_frame_t* guess,     /* in: guessed frame or NULL */
193
 
        ulint   rw_latch,       /* in: RW_X_LATCH, RW_S_LATCH,
194
 
                                or RW_NO_LATCH */
195
 
        ulint   savepoint,      /* in: mtr savepoint */
196
 
        mtr_t*  mtr);           /* in: mtr */
197
 
/************************************************************************
198
179
This is used to get access to a known database page, when no waiting can be
199
180
done. */
200
181
 
294
275
        ulint   space,  /* in: space id */
295
276
        ulint   offset);/* in: page number */
296
277
/************************************************************************
297
 
Resets the check_index_page_at_flush field of a page if found in the buffer
298
 
pool. */
299
 
 
300
 
void
301
 
buf_reset_check_index_page_at_flush(
302
 
/*================================*/
303
 
        ulint   space,  /* in: space id */
304
 
        ulint   offset);/* in: page number */
305
 
/************************************************************************
306
278
Sets file_page_was_freed TRUE if the page is found in the buffer pool.
307
279
This function should be called when we free a file page and want the
308
280
debug version to check that it is not accessed any more unless