mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge maria-5.3-mwl248 -> 5.5 = maria-5.5-mwl248.
This commit is contained in:
19
sql/table.h
19
sql/table.h
@@ -1006,6 +1006,25 @@ public:
|
||||
*/
|
||||
query_id_t query_id;
|
||||
|
||||
/* Statistical data on a table */
|
||||
class Table_statistics
|
||||
{
|
||||
public:
|
||||
my_bool cardinality_is_null; /* TRUE if the cardinality is unknown */
|
||||
ha_rows cardinality; /* Number of rows in the table */
|
||||
};
|
||||
|
||||
/*
|
||||
This structure is used for statistical data on the table
|
||||
that has been read from the statistical table table_stat
|
||||
*/
|
||||
Table_statistics read_stat;
|
||||
/*
|
||||
This structure is used for statistical data on the table that
|
||||
is collected by the function collect_statistics_for_table
|
||||
*/
|
||||
Table_statistics write_stat;
|
||||
|
||||
/*
|
||||
For each key that has quick_keys.is_set(key) == TRUE: estimate of #records
|
||||
and max #key parts that range access would use.
|
||||
|
||||
Reference in New Issue
Block a user