MySQL 8.0.39
Source Code Documentation
sql_data_change.cc File Reference

Contains classes representing SQL-data change statements. More...

#include "sql/sql_data_change.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "sql/current_thd.h"
#include "sql/field.h"
#include "sql/item.h"
#include "sql/sql_class.h"
#include "sql/sql_list.h"
#include "sql/table.h"

Functions

static bool allocate_column_bitmap (TABLE *table, MY_BITMAP **bitmap)
 Allocates and initializes a MY_BITMAP bitmap, containing one bit per column in the table. More...
 

Detailed Description

Contains classes representing SQL-data change statements.

Currently the only data change functionality implemented here is function defaults.

Function Documentation

◆ allocate_column_bitmap()

static bool allocate_column_bitmap ( TABLE table,
MY_BITMAP **  bitmap 
)
static

Allocates and initializes a MY_BITMAP bitmap, containing one bit per column in the table.

The table THD's MEM_ROOT is used to allocate memory.

Parameters
tableThe table whose columns should be used as a template for the bitmap.
[out]bitmapA pointer to the allocated bitmap.
Return values
falseSuccess.
trueMemory allocation error.