Merge branch '0.9.x' into 1.0.x

Conflicts:
	classes/Memcached_DataObject.php
This commit is contained in:
Brion Vibber
2010-12-17 17:13:21 -08:00
20 changed files with 466 additions and 143 deletions

View File

@@ -339,10 +339,14 @@ class Memcached_DataObject extends Safe_DataObject
$start = microtime(true);
$fail = false;
try {
$result = parent::_query($string);
} catch (Exception $e) {
$fail = $e;
$result = null;
if (Event::handle('StartDBQuery', array($this, $string, &$result))) {
try {
$result = parent::_query($string);
} catch (Exception $e) {
$fail = $e;
}
Event::handle('EndDBQuery', array($this, $string, &$result));
}
$delta = microtime(true) - $start;