Skip to content

Commit

Permalink
fix some type err
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoleizi2016 committed Dec 27, 2023
1 parent f614146 commit 1951c17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/obproxy/obutils/ob_proxy_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class ObProxyConfig : public common::ObCommonConfig
DEF_BOOL(auto_scan_all, "false", "if enabled, need scan all", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);

// session pool
DEF_BOOL(is_pool_mode, "false", "if enabled means useing session pool", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(is_pool_mode, "false", "if enabled means using session pool", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(enable_conn_precreate, "false", "if enabled means precreate conn for session pool", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(enable_session_pool_for_no_sharding, "false", "if enabled can use session pool for no sharding", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(enable_no_sharding_skip_real_conn, "false", "if enabled no sharding will use saved password check to skip real conn", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
Expand Down
2 changes: 1 addition & 1 deletion src/obproxy/proxy/mysql/ob_mysql_sm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ int ObMysqlSM::state_client_request_read(int event, void *data)
client_session_->active_ = true;
MYSQL_INCREMENT_DYN_STAT(CURRENT_ACTIVE_CLIENT_CONNECTIONS);
}
// do not warry about cluster resource, large request will allways behind
// do not warry about cluster resource, large request will always behind
// the auth request.

call_transact_and_set_next_state(ObMysqlTransact::modify_request);
Expand Down
2 changes: 1 addition & 1 deletion src/obproxy/proxy/mysqllib/ob_mysql_request_analyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ inline int ObMysqlRequestAnalyzer::handle_auth_request(ObIOBufferReader &reader,
}
} else {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("it shoulde not happened", K(ret));
LOG_WARN("it should not happened", K(ret));
}
return ret;
}
Expand Down

0 comments on commit 1951c17

Please sign in to comment.