1
0
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:
Georg Richter
2016-02-19 22:23:00 +01:00
parent 56f9809365
commit c014b9f6ae
13 changed files with 209 additions and 140 deletions

View File

@@ -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");