~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-04-11 21:43:24 UTC
  • mfrom: (2263.7.1 percona-io-patches)
  • Revision ID: brian@gir-3.local-20110411214324-9n4egl89iws8kr5g
Tags: 2011.04.15
Merge in Innodb patch from Percona

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
259
263
        if (UNIV_UNLIKELY(srv_startup_is_before_trx_rollback_phase)) {
260
264
                /* No read-ahead to avoid thread deadlocks */
261
265
                return(0);