MySQL  8.0.20
Source Code Documentation
ha_innopart.h File Reference
#include <stddef.h>
#include <sys/types.h>
#include "ha_innodb.h"
#include "my_compiler.h"
#include "partitioning/partition_handler.h"
#include "row0mysql.h"
#include "ut0bitset.h"

Go to the source code of this file.

Classes

class  Ha_innopart_share
 InnoDB partition specific Handler_share. More...
 
class  ha_innopart
 The class defining a partitioning aware handle to an InnoDB table. More...
 

Typedefs

typedef Bitset Sql_stat_start_parts
 

Functions

const char * partition_get_tablespace (const char *tablespace, const partition_element *part, const partition_element *sub_part)
 Get explicit specified tablespace for one (sub)partition, checking from lowest level. More...
 

Variables

static constexpr auto PARTITION_IN_SHARED_TABLESPACE
 
const handler::Table_flags HA_INNOPART_DISABLED_TABLE_FLAGS
 HA_DUPLICATE_POS and HA_READ_BEFORE_WRITE_REMOVAL is not set from ha_innobase, but cannot yet be supported in ha_innopart. More...
 

Typedef Documentation

◆ Sql_stat_start_parts

Function Documentation

◆ partition_get_tablespace()

const char* partition_get_tablespace ( const char *  tablespace,
const partition_element part,
const partition_element sub_part 
)

Get explicit specified tablespace for one (sub)partition, checking from lowest level.

Parameters
[in]tablespacetable-level tablespace if specified
[in]partPartition to check
[in]sub_partSub-partition to check, if no, just NULL
Returns
Tablespace name, if nullptr or [0] = '\0' then nothing specified

Variable Documentation

◆ HA_INNOPART_DISABLED_TABLE_FLAGS

const handler::Table_flags HA_INNOPART_DISABLED_TABLE_FLAGS
Initial value:
=
#define HA_DUPLICATE_POS
Definition: handler.h:248
#define HA_CAN_GEOMETRY
Definition: handler.h:225
#define HA_READ_BEFORE_WRITE_REMOVAL
The handler supports read before write removal optimization.
Definition: handler.h:408
#define HA_CAN_FULLTEXT
Definition: handler.h:302
#define HA_CAN_FULLTEXT_EXT
Definition: handler.h:413

HA_DUPLICATE_POS and HA_READ_BEFORE_WRITE_REMOVAL is not set from ha_innobase, but cannot yet be supported in ha_innopart.

Full text and geometry is not yet supported.

◆ PARTITION_IN_SHARED_TABLESPACE

constexpr auto PARTITION_IN_SHARED_TABLESPACE
static
Initial value:
=
"InnoDB : A partitioned table"
" is not allowed in a shared tablespace."