MySQL 8.0.39
Source Code Documentation
|
Go to the source code of this file.
Functions | |
bool | prune_partitions (THD *thd, TABLE *table, Query_block *query_block, Item *pprune_cond) |
Perform partition pruning for a given table and condition. More... | |
bool prune_partitions | ( | THD * | thd, |
TABLE * | table, | ||
Query_block * | query_block, | ||
Item * | pprune_cond | ||
) |
Perform partition pruning for a given table and condition.
thd | Thread handle |
table | Table to perform partition pruning for |
query_block | Query block the table is part of |
pprune_cond | Condition to use for partition pruning |
This function returns promptly if called for non-partitioned table.
true | Failure |
false | Success |