patch 4.0
This commit is contained in:
		@ -17,21 +17,20 @@
 | 
			
		||||
#include "sql/resolver/dml/ob_delete_stmt.h"
 | 
			
		||||
#include "sql/resolver/expr/ob_raw_expr_printer.h"
 | 
			
		||||
 | 
			
		||||
namespace oceanbase {
 | 
			
		||||
namespace sql {
 | 
			
		||||
namespace oceanbase
 | 
			
		||||
{
 | 
			
		||||
namespace sql
 | 
			
		||||
{
 | 
			
		||||
class ObDeleteStmtPrinter : public ObDMLStmtPrinter {
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
  ObDeleteStmtPrinter()
 | 
			
		||||
  {}
 | 
			
		||||
  ObDeleteStmtPrinter(
 | 
			
		||||
      char* buf, int64_t buf_len, int64_t* pos, const ObDeleteStmt* stmt, common::ObObjPrintParams print_params)
 | 
			
		||||
      : ObDMLStmtPrinter(buf, buf_len, pos, stmt, print_params)
 | 
			
		||||
  {}
 | 
			
		||||
  virtual ~ObDeleteStmtPrinter()
 | 
			
		||||
  {}
 | 
			
		||||
  ObDeleteStmtPrinter() {}
 | 
			
		||||
  ObDeleteStmtPrinter(char *buf, int64_t buf_len, int64_t *pos, const ObDeleteStmt *stmt,
 | 
			
		||||
                      common::ObObjPrintParams print_params) :
 | 
			
		||||
    ObDMLStmtPrinter(buf, buf_len, pos, stmt, print_params) {}
 | 
			
		||||
  virtual ~ObDeleteStmtPrinter() {}
 | 
			
		||||
 | 
			
		||||
  void init(char* buf, int64_t buf_len, int64_t* pos, ObDeleteStmt* stmt);
 | 
			
		||||
  void init(char *buf, int64_t buf_len, int64_t *pos, ObDeleteStmt *stmt);
 | 
			
		||||
  virtual int do_print();
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
@ -42,12 +41,14 @@ private:
 | 
			
		||||
 | 
			
		||||
  // disallow copy
 | 
			
		||||
  DISALLOW_COPY_AND_ASSIGN(ObDeleteStmtPrinter);
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
  // data members
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}  // namespace sql
 | 
			
		||||
}  // namespace oceanbase
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif /* OCEANBASE_SRC_SQL_OB_DELETE_STMT_PRINTER_H_ */
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user