You are here

function _apdqc_query_error_handler in Asynchronous Prefetch Database Query Cache 7

A temporary error handler which keeps track of the most recent error.

1 string reference to '_apdqc_query_error_handler'
apdqc_query in ./apdqc.mysql.inc
Runs a query in the database.

File

./apdqc.mysql.inc, line 880
APDQC Database interface code for MySQL database servers.

Code

function _apdqc_query_error_handler($errno, $errstr) {
  $apdqc_errormsg =& drupal_static(__FUNCTION__);
  $apdqc_errormsg = $errstr;
  return TRUE;
}