~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-20 20:25:52 UTC
  • mto: (1864.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1865.
  • Revision ID: brian@tangent.org-20101020202552-51y5sz5ledoxbp7t
Add support for --with-valgrind

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
33
33
High-level function which reads a page asynchronously from a file to the
34
34
buffer buf_pool if it is not already there. Sets the io_fix flag and sets
35
35
an exclusive lock on the buffer frame. The flag is cleared and the x-lock
36
 
released by the i/o-handler thread. Does a random read-ahead if it seems
37
 
sensible.
38
 
@return number of page read requests issued: this can be greater than
39
 
1 if read-ahead occurred */
 
36
released by the i/o-handler thread.
 
37
@return TRUE if page has been read in, FALSE in case of failure */
40
38
UNIV_INTERN
41
 
ulint
 
39
ibool
42
40
buf_read_page(
43
41
/*==========*/
44
42
        ulint   space,  /*!< in: space id */