MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pack_rows.cc File Reference
#include "sql/pack_rows.h"
#include <sys/types.h>
#include <cassert>
#include <utility>
#include "mysql_com.h"
#include "sql/join_optimizer/bit_utils.h"
#include "sql_string.h"
#include "template_utils.h"

Namespaces

namespace  pack_rows
 

Functions

static size_t pack_rows::CalculateColumnStorageSize (const Column &column)
 Calculate how many bytes the data in the column uses. More...
 
size_t pack_rows::ComputeRowSizeUpperBound (const TableCollection &tables)
 Similar to ComputeRowSizeUpperBoundSansBlobs, but will calculate blob size as well. More...
 
size_t pack_rows::ComputeRowSizeUpperBoundSansBlobs (const TableCollection &tables)
 Count up how many bytes a single row from the given tables will occupy, in "packed" format. More...
 
bool pack_rows::StoreFromTableBuffers (const TableCollection &tables, String *buffer)
 Take the data marked for reading in "tables" and store it in the provided buffer. More...
 
const ucharpack_rows::LoadIntoTableBuffers (const TableCollection &tables, const uchar *ptr)
 Take the data in "ptr" and put it back to the tables' record buffers. More...