|
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()
|
};
|
|