~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-22 17:44:34 UTC
  • mto: This revision was merged to the branch mainline in revision 1873.
  • Revision ID: brian@tangent.org-20101022174434-q8fjovcpclzqer7n
TableShare is no longer in the house (i.e. we no longer directly have a copy
of it in cursor).

One more bit of the knot now gone.

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 */