reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -23,7 +23,7 @@ class ObSQLSessionInfo;
class TransResult {
OB_UNIS_VERSION(1);
public:
public:
TransResult() : is_incomplete_(false), lock_(), max_sql_no_(0), trans_desc_(NULL)
{}
@ -65,7 +65,7 @@ class TransResult {
void clear_stmt_result();
TO_STRING_KV(K_(total_partitions), K_(part_epoch_list), K_(response_partitions), K_(max_sql_no));
private:
private:
// collect all partitions for foreign key.
common::ObPartitionArray total_partitions_;
// discard_partitions_ indicates that the transaction in the partition is enabled,
@ -97,7 +97,7 @@ class TransResult {
};
class ObSqlTransUtil {
public:
public:
/* Determine whether a statement should start a transaction remotely */
static bool is_remote_trans(bool ac, bool in_trans, ObPhyPlanType ptype)
{
@ -124,7 +124,7 @@ class ObSqlTransUtil {
return true == in_trans;
}
private:
private:
ObSqlTransUtil(){};
~ObSqlTransUtil(){};
DISALLOW_COPY_AND_ASSIGN(ObSqlTransUtil);