diff --git a/deps/easy/src/io/easy_negotiation.c b/deps/easy/src/io/easy_negotiation.c index 9d4390e40..8bd1df357 100644 --- a/deps/easy/src/io/easy_negotiation.c +++ b/deps/easy/src/io/easy_negotiation.c @@ -28,9 +28,9 @@ const int g_support_eio_maigc_num = sizeof(g_support_eio_maigc) / sizeof(g_suppo static int easy_magic_in_support_list(uint64_t magic) { int ret = 0; - int i = 0; - for (i = 0; i < g_support_eio_maigc_num; i++) { - if (magic == g_support_eio_maigc[i]) { + int i = 0; + for (i = 0; i < g_support_eio_maigc_num; i++) { + if (magic == g_support_eio_maigc[i]) { return 1; } } @@ -200,9 +200,9 @@ int net_send_negotiate_message(uint8_t negotiation_enable, int fd, uint64_t magi char addr_str[32]; easy_inet_addr_to_str(&addr, addr_str, 32); if (negotiation_enable) { - if (magic) { - int send_bytes = 0; - const int MAX_SEND_LEN = 20; + if (magic) { + int send_bytes = 0; + const int MAX_SEND_LEN = 20; char buf[MAX_SEND_LEN]; memset(buf, 0, sizeof(buf)); @@ -240,9 +240,9 @@ void net_consume_negotiation_msg(int fd, uint64_t magic) int ret = EASY_OK; const int64_t recv_buf_len = 1 * 1024; int rcv_bytes = 0; - int64_t decode_len = 0; - easy_negotiation_msg_t ne_msg; - char recv_buf[recv_buf_len]; + int64_t decode_len = 0; + easy_negotiation_msg_t ne_msg; + char recv_buf[recv_buf_len]; memset(&ne_msg, 0, sizeof(ne_msg)); memset(recv_buf, 0, sizeof(recv_buf_len)); diff --git a/src/share/inner_table/ob_inner_table_schema_def.py b/src/share/inner_table/ob_inner_table_schema_def.py index d0f267863..0d5ff7efa 100644 --- a/src/share/inner_table/ob_inner_table_schema_def.py +++ b/src/share/inner_table/ob_inner_table_schema_def.py @@ -26001,6 +26001,7 @@ def_table_schema( # 21420: V$OB_PX_P2P_DATAHUB # 21421: GV$SQL_JOIN_FILTER # 21422: V$SQL_JOIN_FILTER +# 21423: DBA_OB_TABLE_STAT_STALE_INFO ################################################################################ # Oracle System View (25000, 30000] @@ -43421,6 +43422,7 @@ def_table_schema( # 25244: V$OB_PX_P2P_DATAHUB # 25245: GV$SQL_JOIN_FILTER # 25246: V$SQL_JOIN_FILTER +# 25247: DBA_OB_TABLE_STAT_STALE_INFO #### End Data Dictionary View ################################################################################