Status: Open (View Workflow)
Affects Version/s: None
Fix Version/s: None
This is specifically required for server (which includes a mysql client used by replication, and also federated, spider,connect engines).
currently server-wide defaults are set in my_net_local_init() here
The library-global callback in Connector/C should not operate on NET structure, instead it should operate on MYSQL.
if user callback set, it should be called at the end of mysql_init(). Users are supposed to use it to set some mysql_options()
mariadb_set_init_callback( void (init_callback)(MYSQL *mysql))