MySQL 8.0.40
Source Code Documentation
|
#include <assert.h>
#include <stdint.h>
#include <cmath>
#include "sql/join_optimizer/access_path.h"
#include "sql/join_optimizer/interesting_orders.h"
Go to the source code of this file.
Enumerations | |
enum class | FuzzyComparisonResult : uint32_t { IDENTICAL = 0 , FIRST_BETTER = 1 , SECOND_BETTER = 2 , FIRST_SLIGHTLY_BETTER = 4 , SECOND_SLIGHTLY_BETTER = 8 } |
enum class | PathComparisonResult { FIRST_DOMINATES , SECOND_DOMINATES , DIFFERENT_STRENGTHS , IDENTICAL } |
Functions | |
FuzzyComparisonResult | FuzzyComparison (double x, double y, double fuzz_factor) |
PathComparisonResult | CompareAccessPaths (const LogicalOrderings &orderings, const AccessPath &a, const AccessPath &b, OrderingSet obsolete_orderings) |
|
strong |
|
strong |
PathComparisonResult CompareAccessPaths | ( | const LogicalOrderings & | orderings, |
const AccessPath & | a, | ||
const AccessPath & | b, | ||
OrderingSet | obsolete_orderings | ||
) |
|
inline |