MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.63 mysql_refresh() (original) (raw)

5.4.63 mysql_refresh()

int
mysql_refresh(MYSQL *mysql,
              unsigned int options)

Description

This function flushes tables or caches, or resets replication server information. The connected user must have theRELOAD privilege.

The options argument is a bitmask composed from any combination of the following values. Multiple values can be OR'ed together to perform multiple operations with a single call.

Return Values

Zero for success. Nonzero if an error occurred.

Errors