~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/buf/buf0rea.cc

  • Committer: Andrew Hutchings
  • Date: 2011-02-01 10:23:22 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110201102322-oxztcyrjzg3c7yta
Fix counters cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
which case it is never read into the pool, or if the tablespace does
57
57
not exist or is being dropped 
58
58
@return 1 if read request is issued. 0 if it is not */
59
 
UNIV_INTERN
 
59
static
60
60
ulint
61
61
buf_read_page_low(
62
62
/*==============*/
256
256
                = BUF_READ_AHEAD_LINEAR_AREA(buf_pool);
257
257
        ulint           threshold;
258
258
 
259
 
        if ((srv_read_ahead & 2) == false) {
260
 
                return(0);
261
 
        }
262
 
 
263
259
        if (UNIV_UNLIKELY(srv_startup_is_before_trx_rollback_phase)) {
264
260
                /* No read-ahead to avoid thread deadlocks */
265
261
                return(0);