MySQL 9.1.0
Source Code Documentation
lob0update.cc File Reference
#include "field.h"
#include "lob0impl.h"
#include "lob0index.h"
#include "lob0lob.h"
#include "lob0pages.h"
#include "my_dbug.h"
#include "row0upd.h"
#include "table.h"
#include "trx0trx.h"

Namespaces

namespace  lob
 Provides the large objects (LOB) module.
 

Functions

dberr_t lob::replace (InsertContext &ctx, trx_t *trx, dict_index_t *index, ref_t ref, first_page_t &first_page, ulint offset, ulint len, byte *buf, int count)
 Replace a large object (LOB) with the given new data of equal length. More...
 
static dberr_t lob::replace_inline (InsertContext &ctx, trx_t *trx, dict_index_t *index, ref_t ref, first_page_t &first_page, ulint offset, ulint len, byte *buf)
 Replace a small portion of large object (LOB) with the given new data of equal length. More...
 
static void lob::print_partial_update_hit (upd_field_t *uf, dict_index_t *index)
 Print an information message in the server log file, informing that the LOB partial update feature code is hit. More...
 
dberr_t lob::update (InsertContext &ctx, trx_t *trx, dict_index_t *index, const upd_t *upd, ulint field_no, ref_t blobref)
 Update a portion of the given LOB. More...
 
bool lob::validate_size (const ulint lob_size, dict_index_t *index, fil_addr_t node_loc, mtr_t *mtr)
 Validate the size of the given LOB. More...
 
fil_addr_t lob::find_offset (dict_index_t *index, fil_addr_t node_loc, ulint &offset, mtr_t *mtr)
 Find the file location of the index entry which gives the portion of LOB containing the requested offset. More...
 
dberr_t lob::apply_undolog (mtr_t *mtr, dict_index_t *index, ref_t ref, const upd_field_t *uf)
 Apply the undo log on the LOB. More...