* (bug 5796) We require MySQL >=4.0.14
* Add 'EmailConfirmed' hook
* New findhooks.php script to find undocumented hooks.
+* Silently ignore errors on profiling table update.
+
== Compatibility ==
$dbw = & wfGetDB(DB_MASTER);
if (!is_object($dbw))
return false;
+ $errorState = $dbw->ignoreErrors( true );
$profiling = $dbw->tableName('profiling');
$name = substr($name, 0, 255);
// "ON DUPLICATE KEY UPDATE ".
// "pf_count=pf_count + VALUES(pf_count), ".
// "pf_time=pf_time + VALUES(pf_time)";
+ $dbw->ignoreErrors( $errorState );
}
/**