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
10.2 integration fixes:
- renamed/prefixed password functions - prepared statement fixes for mysql_client_test
This commit is contained in:
@@ -1236,6 +1236,9 @@ MYSQL *mthd_my_real_connect(MYSQL *mysql, const char *host, const char *user,
|
||||
if (ma_net_init(net, pvio))
|
||||
goto error;
|
||||
|
||||
if (mysql->options.max_allowed_packet)
|
||||
net->max_packet_size= mysql->options.max_allowed_packet;
|
||||
|
||||
ma_pvio_keepalive(net->pvio);
|
||||
strcpy(mysql->net.sqlstate, "00000");
|
||||
|
||||
|
Reference in New Issue
Block a user