1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg

This commit is contained in:
Sergei Golubchik
2025-04-27 11:33:27 +02:00
committed by Oleksandr Byelkin
430 changed files with 14769 additions and 6751 deletions

View File

@@ -489,5 +489,16 @@ void free_key_master_info(Master_info *mi);
uint any_slave_sql_running(bool already_locked);
bool give_error_if_slave_running(bool already_lock);
/*
Sets up the basic options for a MYSQL connection, mysql, to connect to the
primary server described by the Master_info parameter, mi. The timeout must
be passed explicitly, as different types of connections created by the slave
will use different values.
Assumes mysql_init() has already been called on the mysql connection object.
*/
void setup_mysql_connection_for_master(MYSQL *mysql, Master_info *mi,
uint timeout);
#endif /* HAVE_REPLICATION */
#endif /* RPL_MI_H */