Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/db/i_db_connection.php
Show First 20 Lines • Show All 253 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Get slave replication lag. It will only work if the DB user has the PROCESS privilege. | * Get slave replication lag. It will only work if the DB user has the PROCESS privilege. | ||||
* | * | ||||
* @return int | * @return int | ||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function getSlaveLag(); | public function getSlaveLag(); | ||||
/** | |||||
* Sets an error handler. | |||||
* | |||||
* @param callable $error_handler Error handler. | |||||
* | |||||
* @return void | |||||
*/ | |||||
public function setErrorHandler(callable $error_handler); | |||||
} | } |