Merge "RCFilters: refactor highlight state"
[lhc/web/wiklou.git] / includes / libs / rdbms / database / DatabaseMysqlBase.php
index 3c4cda5..5312a3d 100644 (file)
@@ -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