MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mach0data.cc File Reference
#include "mach0data.h"
Include dependency graph for mach0data.cc:

Go to the source code of this file.

Functions

UNIV_INTERN byte * mach_parse_compressed (byte *ptr, byte *end_ptr, ulint *val)

Detailed Description

Utilities for converting data from the database file to the machine format.

Created 11/28/1995 Heikki Tuuri

Definition in file mach0data.cc.

Function Documentation

UNIV_INTERN byte* mach_parse_compressed ( byte *  ptr,
byte *  end_ptr,
ulint *  val 
)

Reads a ulint in a compressed form if the log record fully contains it.

Returns
pointer to end of the stored field, NULL if not complete
Parameters
ptrin: pointer to buffer from where to read
end_ptrin: pointer to end of the buffer
valout: read value (< 2^32)

Definition at line 38 of file mach0data.cc.

Here is the call graph for this function:

Here is the caller graph for this function: