~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/buf0rea.h

  • Committer: Brian Aker
  • Date: 2010-11-06 15:43:10 UTC
  • mfrom: (1908.1.1 merge)
  • Revision ID: brian@tangent.org-20101106154310-g1jpjzwbc53pfc4f
Filesort encapsulation, plus modification to copy contructor

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
 
125
125
/** The size in pages of the area which the read-ahead algorithms read if
126
126
invoked */
127
 
#define BUF_READ_AHEAD_AREA(b)                                  \
128
 
        ut_min(64, ut_2_power_up((b)->curr_size / 32))
 
127
#define BUF_READ_AHEAD_AREA                                     \
 
128
        ut_min(64, ut_2_power_up(buf_pool->curr_size / 32))
129
129
 
130
130
/** @name Modes used in read-ahead @{ */
131
131
/** read only pages belonging to the insert buffer tree */