Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The patch for MDEV-19772 earlier introduced a number of helper classes to define INFORMATION_SCHEMA tables, and changed definitions in /sql and /plugins.
This task is to make INFORMATION_SCHEMA definitions in /storage/tokudb use these new classes.
So for example this table definition:
ST_FIELD_INFO trx_field_info[] = {
|
{"trx_id", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE }, |
{"trx_mysql_thread_id", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE }, |
{"trx_time", 0, MYSQL_TYPE_LONGLONG, 0, 0, NULL, SKIP_OPEN_TABLE }, |
{NULL, 0, MYSQL_TYPE_NULL, 0, 0, NULL, SKIP_OPEN_TABLE}
|
};
|
will turn into:
ST_FIELD_INFO trx_field_info[] = {
|
Column("trx_id", SLonglong(0), NOT_NULL), |
Column("trx_mysql_thread_id", SLonglong(0), NOT_NULL), |
Column("trx_time", SLonglong(0), NOT_NULL), |
CEnd()
|
};
|
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
- Closed
-
MDEV-19843 Modify ST_FIELD_INFO to use Type_handler and LEX_CSTRING
- Closed
- is blocked by
-
MDEV-19772 Add helper classes for ST_FIELD_INFO
- Closed
- relates to
-
MDEV-19810 Reuse new I_S table definition helper classes for InnoDB
- Closed
-
MDEV-19832 Reuse new I_S table definition helper classes for Spider
- Closed
-
MDEV-19833 Reuse new I_S table definition helper classes for Mronga
- Closed
-
MDEV-19836 Reuse new I_S table definition helper classes for RocksDB
- Closed