diff --git a/src/configMgr/c_program/impmod/bss_hb.c b/src/configMgr/c_program/impmod/bss_hb.c index f82d10a..eb40d95 100644 --- a/src/configMgr/c_program/impmod/bss_hb.c +++ b/src/configMgr/c_program/impmod/bss_hb.c @@ -16,9 +16,11 @@ char OMC_0_IP[16]; char OMC_1_IP[16]; MYSQL omcDbConn,*omcDb_sock; -MYSQL_RES *result; -MYSQL_ROW row; -char sqlstring[128]; +// by simon at 2024/10/19 begin --- +// MYSQL_RES *result; +// MYSQL_ROW row; +// char sqlstring[128]; +// ---end static int udp_sockfd; static struct sockaddr_in udp_cli_addr; diff --git a/src/configMgr/c_program/impmod/bsscomm.h b/src/configMgr/c_program/impmod/bsscomm.h index c4b3709..8514657 100644 --- a/src/configMgr/c_program/impmod/bsscomm.h +++ b/src/configMgr/c_program/impmod/bsscomm.h @@ -116,12 +116,10 @@ #define SQLSTRING_LEN 16384 // 16384 = 2^14 MYSQL mysql,*mysql_sock; -// by simon at 2024/10/19 begin --- -// MYSQL_RES *result; -// MYSQL_ROW row; -// //MYSQL_FIELD *field; -// char sqlstring[SQLSTRING_LEN]; -// ---end +MYSQL_RES *result; +MYSQL_ROW row; +//MYSQL_FIELD *field; +char sqlstring[SQLSTRING_LEN]; /* * Store the name of MYSQL tablename at program startup