mysql_get_timeout_value_ms

Syntax

#include <mysql.h>

unsigned int mysql_get_timeout_value_ms(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_ms retrieves the current timeout value configured for asynchronous operations on the given connection, expressed in milliseconds.

Return Value

The timeout value in milliseconds 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?