dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "RCFilters: refactor highlight state"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
database
/
DatabaseMysqlBase.php
diff --git
a/includes/libs/rdbms/database/DatabaseMysqlBase.php
b/includes/libs/rdbms/database/DatabaseMysqlBase.php
index
3c4cda5
..
5312a3d
100644
(file)
--- a/
includes/libs/rdbms/database/DatabaseMysqlBase.php
+++ b/
includes/libs/rdbms/database/DatabaseMysqlBase.php
@@
-486,6
+486,10
@@
abstract class DatabaseMysqlBase extends Database {
*/
abstract protected function mysqlError( $conn = null );
+ protected function wasQueryTimeout( $error, $errno ) {
+ return $errno == 2062;
+ }
+
/**
* @param string $table
* @param array $uniqueIndexes