dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
935e24f
)
DatabaseBase::deadlockLoop(): Remove unused variables
author
Kevin Israel
<pleasestand@live.com>
Sat, 19 Sep 2015 06:07:13 +0000
(
02:07
-0400)
committer
Kevin Israel
<pleasestand@live.com>
Sat, 19 Sep 2015 06:07:13 +0000
(
02:07
-0400)
Follows-up
419221e4a71b
.
Change-Id: Ia0d50e40600ca2cd7b90441b66340d3c290be85f
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
4ceebaf
..
1e54f55
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-3226,9
+3226,6
@@
abstract class DatabaseBase implements IDatabase {
$retVal = call_user_func_array( $function, $args );
break;
} catch ( DBQueryError $e ) {
- $error = $this->lastError();
- $errno = $this->lastErrno();
- $sql = $this->lastQuery();
if ( $this->wasDeadlock() ) {
// Retry after a randomized delay
usleep( mt_rand( self::DEADLOCK_DELAY_MIN, self::DEADLOCK_DELAY_MAX ) );