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
add forgotten async ctxt initialization on reconnects
This commit is contained in:
@@ -1595,6 +1595,7 @@ my_bool STDCALL mariadb_reconnect(MYSQL *mysql)
|
||||
tmp_mysql.options.my_cnf_group= tmp_mysql.options.my_cnf_file= NULL;
|
||||
if (IS_MYSQL_ASYNC_ACTIVE(mysql))
|
||||
{
|
||||
ctxt= mysql->options.extension->async_context;
|
||||
hook_data.orig_mysql= mysql;
|
||||
hook_data.new_mysql= &tmp_mysql;
|
||||
hook_data.orig_pvio= mysql->net.pvio;
|
||||
|
Reference in New Issue
Block a user