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,23 +15,26 @@
#include "sql/engine/expr/ob_expr_substr.h"
namespace oceanbase {
namespace sql {
namespace oceanbase
{
namespace sql
{
class ObExprMid : public ObExprSubstr {
class ObExprMid : public ObExprSubstr
{
public:
explicit ObExprMid(common::ObIAllocator& alloc) : ObExprSubstr(alloc)
explicit ObExprMid(common::ObIAllocator &alloc)
: ObExprSubstr(alloc)
{
*(const_cast<ObExprOperatorType*>(&type_)) = T_FUN_SYS_MID;
*(const_cast<const char**>(&name_)) = N_MID;
};
virtual ~ObExprMid(){};
virtual ~ObExprMid() {};
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(ObExprMid);
};
} // namespace sql
} // namespace oceanbase
} // namespace sql
} // namespace oceanbase
#endif