From a0f6af5521bb5542529cd4dd1c1c7dbf0cec8508 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Sat, 19 Sep 2015 02:07:13 -0400 Subject: [PATCH] DatabaseBase::deadlockLoop(): Remove unused variables Follows-up 419221e4a71b. Change-Id: Ia0d50e40600ca2cd7b90441b66340d3c290be85f --- includes/db/Database.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 4ceebafbc5..1e54f55457 100644 --- 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 ) ); -- 2.20.1