~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-15 05:30:39 UTC
  • mfrom: (1843.8.7 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101015053039-ebmv3hnn1yaq4wqy
Merge in refactoring on table (broken it up by type, this will allow me to
insert the new locking).

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