MCPcopy Create free account
hub / github.com/MariaDB/server / eq

Method eq

sql/table.cc:11007–11027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11005}
11006
11007bool vers_select_conds_t::eq(const vers_select_conds_t &conds) const
11008{
11009 if (type != conds.type)
11010 return false;
11011 switch (type) {
11012 case SYSTEM_TIME_UNSPECIFIED:
11013 case SYSTEM_TIME_ALL:
11014 return true;
11015 case SYSTEM_TIME_BEFORE:
11016 break;
11017 case SYSTEM_TIME_HISTORY:
11018 break;
11019 case SYSTEM_TIME_AS_OF:
11020 return start.eq(conds.start);
11021 case SYSTEM_TIME_FROM_TO:
11022 case SYSTEM_TIME_BETWEEN:
11023 return start.eq(conds.start) && end.eq(conds.end);
11024 }
11025 DBUG_ASSERT(0);
11026 return false;
11027}
11028
11029
11030bool Vers_history_point::check_unit(THD *thd, vers_select_conds_t *vers_conds)

Callers 1

init_derivedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected