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

@ -16,24 +16,23 @@
#include "sql/resolver/ddl/ob_ddl_resolver.h"
#include "sql/resolver/ddl/ob_alter_table_stmt.h"
namespace oceanbase {
namespace sql {
class ObSetCommentResolver : public ObDDLResolver {
namespace oceanbase
{
namespace sql
{
class ObSetCommentResolver : public ObDDLResolver
{
public:
explicit ObSetCommentResolver(ObResolverParams& params);
explicit ObSetCommentResolver(ObResolverParams &params);
virtual ~ObSetCommentResolver();
virtual int resolve(const ParseNode& parse_tree);
ObAlterTableStmt* get_alter_table_stmt()
{
return static_cast<ObAlterTableStmt*>(stmt_);
};
virtual int resolve(const ParseNode &parse_tree);
ObAlterTableStmt *get_alter_table_stmt() { return static_cast<ObAlterTableStmt*>(stmt_); };
private:
share::schema::ObTableSchema table_schema_;
common::ObCollationType collation_type_;
common::ObCharsetType charset_type_;
DISALLOW_COPY_AND_ASSIGN(ObSetCommentResolver);
};
} // namespace sql
} // namespace oceanbase
}//namespace sql
}//namespace oceanbase
#endif