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,26 +15,34 @@
#include "lib/container/ob_bit_set.h"
namespace oceanbase {
namespace oceanbase
{
namespace share {
namespace share
{
class ObSequenceOption;
class ObSequenceOptionBuilder {
class ObSequenceOptionBuilder
{
public:
ObSequenceOptionBuilder() = default;
~ObSequenceOptionBuilder() = default;
static int build_create_sequence_option(const common::ObBitSet<>& opt_bitset, share::ObSequenceOption& opt_new);
static int build_alter_sequence_option(
const common::ObBitSet<>& opt_bitset, const share::ObSequenceOption& opt_old, share::ObSequenceOption& opt_new);
static int build_create_sequence_option(const common::ObBitSet<> &opt_bitset,
share::ObSequenceOption &opt_new);
static int build_alter_sequence_option(const common::ObBitSet<> &opt_bitset,
const share::ObSequenceOption &opt_old,
share::ObSequenceOption &opt_new,
bool can_alter_start_with);
private:
static int pre_check_sequence_option(const share::ObSequenceOption& opt);
static int check_sequence_option(const common::ObBitSet<>& opt_bitset, const share::ObSequenceOption& opt);
static int check_sequence_option_integer(const common::ObBitSet<>& opt_bitset, const share::ObSequenceOption& option);
static int pre_check_sequence_option(const share::ObSequenceOption &opt);
static int check_sequence_option(const common::ObBitSet<> &opt_bitset,
const share::ObSequenceOption &opt);
static int check_sequence_option_integer(const common::ObBitSet<> &opt_bitset,
const share::ObSequenceOption &option);
DISALLOW_COPY_AND_ASSIGN(ObSequenceOptionBuilder);
};
} // namespace share
} // namespace oceanbase
}
}
#endif /* __OB_SHARE_SEQUENCE_SEQUENCE_OPTION_CHECKER_H__ */
//// end of header file