patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -15,15 +15,10 @@
// helper template to get some operator of old && new engine.
namespace oceanbase {
namespace sql {
class ObPhyOperator;
class ObTableScan;
class ObMVTableScan;
class ObTableInsert;
class ObTableModify;
class ObGranuleIterator;
namespace oceanbase
{
namespace sql
{
class ObOpSpec;
class ObTableScanSpec;
class ObMVTableScanSpec;
@ -35,17 +30,8 @@ template <bool NEW_ENG>
struct ObEngineOpTraits {};
template <>
struct ObEngineOpTraits<false> {
typedef ObPhyOperator Root;
typedef ObTableScan TSC;
typedef ObMVTableScan MV_TSC;
typedef ObTableModify TableModify;
typedef ObTableInsert TableInsert;
typedef ObGranuleIterator GI;
};
template <>
struct ObEngineOpTraits<true> {
struct ObEngineOpTraits<true>
{
typedef ObOpSpec Root;
typedef ObTableScanSpec TSC;
typedef ObMVTableScanSpec MV_TSC;
@ -54,7 +40,7 @@ struct ObEngineOpTraits<true> {
typedef ObGranuleIteratorSpec GI;
};
} // end namespace sql
} // end namespace oceanbase
} // end namespace sql
} // end namespace oceanbase
#endif // OCEANBASE_ENGINE_OB_ENGINE_OP_TRAITS_H_
#endif // OCEANBASE_ENGINE_OB_ENGINE_OP_TRAITS_H_