Obtain statistics for a specific buffer.
- Parameters:
-
| h | Database handle. |
| bufno | Buffer number of specific buffer. |
| stat | Returned buffer statistics. |
- Returns:
-
On failure, one of the following error codes is set:
- DB_EINVAL Caused by: invalid database handle or buffer manager statistics is null.
- See also:
- db_stat_bufmgr,
get_db_error, clear_db_error, Error Handling