-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Describe the bug
/obclient/client/mysql.cc: In function ‘bool do_connect(MYSQL*, const char*, const char*, const char*, const char*, ulong)’:
/obclient/client/mysql.cc:1809:12: error: ‘MYSQL’ has no member named ‘ob_server_version’
mysql->ob_server_version = PROXY_MODE;
^
/obclient/client/mysql.cc: In function ‘my_bool get_one_option(int, const my_option*, char*)’:
/obclient/client/mysql.cc:2211:34: warning: the address of ‘delimiter’ will always evaluate as ‘true’ [-Waddress]
if (delimiter_length == 1 && delimiter && delimiter[0] == ';') {
^
/obclient/client/mysql.cc: In function ‘bool add_line(String&, char*, size_t, char*, bool*, bool*, bool)’:
/obclient/client/mysql.cc:2947:13: warning: unused variable ‘str’ [-Wunused-variable]
char str = NULL;
^
/obclient/client/mysql.cc: In function ‘void print_table_data(MYSQL_RES)’:
/obclientclient/mysql.cc:4868:103: error: ‘IS_NUM_TERMINAL’ was not declared in this scope
if ((!force_set_num_width_close) && mysql.oracle_mode && cur[off] && IS_NUM_TERMINAL(field->type) && IS_NUM_BINARY_TERMINAL(field->type)) {
^
/obclient/client/mysql.cc:4868:142: error: ‘IS_NUM_BINARY_TERMINAL’ was not declared in this scope
if ((!force_set_num_width_close) && mysql.oracle_mode && cur[off] && IS_NUM_TERMINAL(field->type) && IS_NUM_BINARY_TERMINAL(field->type)) {
Environment
tag v2.2.10
Fast reproduce steps
sh build.sh release
Expected behavior
No response
Actual behavior
No response
Additional context
No response