You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Post fix for CONC-588
Instead to allocate procy header string the poiter was assigned to extended options.
This commit is contained in:
@@ -3252,7 +3252,7 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
|
||||
case MARIADB_OPT_PROXY_HEADER:
|
||||
{
|
||||
size_t arg2 = va_arg(ap, size_t);
|
||||
OPT_SET_EXTENDED_VALUE(&mysql->options, proxy_header, (char *)arg1);
|
||||
OPT_SET_EXTENDED_VALUE_STR(&mysql->options, proxy_header, (char *)arg1);
|
||||
OPT_SET_EXTENDED_VALUE(&mysql->options, proxy_header_len, arg2);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user