MySQL 8.0.39
Source Code Documentation
index_range_scan.cc File Reference
#include "sql/range_optimizer/index_range_scan.h"
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <algorithm>
#include "field_types.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_alloc.h"
#include "my_base.h"
#include "my_dbug.h"
#include "my_sys.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/service_mysql_alloc.h"
#include "sql/join_optimizer/bit_utils.h"
#include "sql/key.h"
#include "sql/psi_memory_key.h"
#include "sql/range_optimizer/reverse_index_range_scan.h"
#include "sql/sql_bitmap.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_executor.h"
#include "sql/sql_select.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thr_malloc.h"
#include "sql_string.h"
#include "template_utils.h"

Functions

range_seq_t quick_range_seq_init (void *init_param, uint, uint)
 
uint quick_range_seq_next (range_seq_t rseq, KEY_MULTI_RANGE *range)
 
static bool has_blob_primary_key (const TABLE *table)
 Does this TABLE have a primary key with a BLOB component? More...
 
bool InitIndexRangeScan (TABLE *table, handler *file, int index, unsigned mrr_flags, bool in_ror_merged_scan, MY_BITMAP *column_bitmap)
 

Function Documentation

◆ has_blob_primary_key()

static bool has_blob_primary_key ( const TABLE table)
static

Does this TABLE have a primary key with a BLOB component?

◆ InitIndexRangeScan()

bool InitIndexRangeScan ( TABLE table,
handler file,
int  index,
unsigned  mrr_flags,
bool  in_ror_merged_scan,
MY_BITMAP column_bitmap 
)

◆ quick_range_seq_init()

range_seq_t quick_range_seq_init ( void *  init_param,
uint  n_ranges,
uint  flags 
)

◆ quick_range_seq_next()

uint quick_range_seq_next ( range_seq_t  rseq,
KEY_MULTI_RANGE range 
)