mysql_get_timeout_value

Syntax

#include <mysql.h>

unsigned int mysql_get_timeout_value(const MYSQL *mysql);

Parameter

Parameter
Description

mysql

A connection handle previously allocated by mysql_init() and connected by mysql_real_connect().

Description

mysql_get_timeout_value retrieves the current timeout value configured for asynchronous operations on the given connection, expressed in seconds.

Return Value

The timeout value in seconds as an unsigned int.

This function is deprecated. Use mariadb_get_infov() with the MARIADB_CONNECTION_ASYNC_TIMEOUT option instead.

See Also

Last updated

Was this helpful?