remove unused code
This commit is contained in:
		@ -1,40 +0,0 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Copyright (c) 2021 OceanBase
 | 
			
		||||
 * OceanBase CE is licensed under Mulan PubL v2.
 | 
			
		||||
 * You can use this software according to the terms and conditions of the Mulan PubL v2.
 | 
			
		||||
 * You may obtain a copy of Mulan PubL v2 at:
 | 
			
		||||
 *          http://license.coscl.org.cn/MulanPubL-2.0
 | 
			
		||||
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 | 
			
		||||
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 | 
			
		||||
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 | 
			
		||||
 * See the Mulan PubL v2 for more details.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef OCEANBASE_SQL_RESOLVER_OB_DCL_STMT_H_
 | 
			
		||||
#define OCEANBASE_SQL_RESOLVER_OB_DCL_STMT_H_ 1
 | 
			
		||||
#include "share/ob_rpc_struct.h"
 | 
			
		||||
#include "sql/resolver/ob_stmt.h"
 | 
			
		||||
#include "sql/resolver/ob_cmd.h"
 | 
			
		||||
namespace oceanbase
 | 
			
		||||
{
 | 
			
		||||
namespace sql
 | 
			
		||||
{
 | 
			
		||||
class ObDCLStmt : public ObStmt, public ObICmd
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
  ObDCLStmt(common::ObIAllocator *name_pool, stmt::StmtType type)
 | 
			
		||||
    : ObStmt(name_pool, type)
 | 
			
		||||
  {
 | 
			
		||||
  }
 | 
			
		||||
  explicit ObDCLStmt(stmt::StmtType type): ObStmt(type)
 | 
			
		||||
  {
 | 
			
		||||
  }
 | 
			
		||||
  virtual ~ObDCLStmt() {}
 | 
			
		||||
  virtual int get_cmd_type() const { return get_stmt_type(); }
 | 
			
		||||
  virtual bool cause_implicit_commit() const { return true; }
 | 
			
		||||
private:
 | 
			
		||||
  DISALLOW_COPY_AND_ASSIGN(ObDCLStmt);
 | 
			
		||||
};
 | 
			
		||||
}  // namespace sql
 | 
			
		||||
}  // namespace oceanbase
 | 
			
		||||
#endif // OCEANBASE_SQL_RESOLVER_OB_DCL_STMT_H
 | 
			
		||||
		Reference in New Issue
	
	Block a user