Fetch compressed BLOB.
More...
#include <lob0lob.h>
◆ zReader()
◆ assert_empty_local_prefix()
bool lob::zReader::assert_empty_local_prefix |
( |
| ) |
|
|
private |
Assert that the local prefix is empty.
For compressed row format, there is no local prefix stored. This function doesn't return if the local prefix is non-empty.
- Returns
- true if local prefix is empty
◆ fetch()
Fetch the BLOB.
- Returns
- DB_SUCCESS on success.
-
DB_SUCCESS on success, DB_FAIL on error.
◆ fetch_page()
dberr_t lob::zReader::fetch_page |
( |
| ) |
|
Fetch one BLOB page.
- Returns
- DB_SUCCESS on success.
◆ length()
ulint lob::zReader::length |
( |
| ) |
const |
|
inline |
Get the length of data that has been read.
- Returns
- the length of data that has been read.
◆ setup_zstream()
int lob::zReader::setup_zstream |
( |
| ) |
|
|
private |
Do setup of the zlib stream.
- Returns
- code returned by zlib.
◆ m_bpage
◆ m_heap
The memory heap that will be used by zlib allocator.
◆ m_page_type_ex
ulint lob::zReader::m_page_type_ex |
|
private |
◆ m_rctx
◆ m_remaining
ulint lob::zReader::m_remaining |
|
private |
◆ m_stream
z_stream lob::zReader::m_stream |
|
private |
The zlib stream used to uncompress while fetching blob.
The documentation for this struct was generated from the following files: