MySQL 9.0.0
Source Code Documentation
ha_innopart.h File Reference
#include <stddef.h>
#include <sys/types.h>
#include "ha_innodb.h"
#include "my_compiler.h"
#include "my_inttypes.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...
 
struct  ha_innopart::saved_prebuilt_t
 

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_READ_BEFORE_WRITE_REMOVAL
The handler supports read before write removal optimization.
Definition: handler.h:419
#define HA_CAN_GEOMETRY
Definition: handler.h:236
#define HA_CAN_FULLTEXT
Definition: handler.h:313
#define HA_DUPLICATE_POS
Definition: handler.h:259
#define HA_CAN_FULLTEXT_EXT
Definition: handler.h:424

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
staticconstexpr
Initial value:
=
"InnoDB : A partitioned table"
" is not allowed in a shared tablespace."