Code Duplication    Length = 10-12 lines in 2 locations

includes/db/DatabaseMssql.php 2 locations

@@ 475-486 (lines=12) @@
472
		return $sql;
473
	}
474
475
	public function deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds,
476
		$fname = __METHOD__
477
	) {
478
		$this->mScrollableCursor = false;
479
		try {
480
			parent::deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds, $fname );
481
		} catch ( Exception $e ) {
482
			$this->mScrollableCursor = true;
483
			throw $e;
484
		}
485
		$this->mScrollableCursor = true;
486
	}
487
488
	public function delete( $table, $conds, $fname = __METHOD__ ) {
489
		$this->mScrollableCursor = false;
@@ 488-497 (lines=10) @@
485
		$this->mScrollableCursor = true;
486
	}
487
488
	public function delete( $table, $conds, $fname = __METHOD__ ) {
489
		$this->mScrollableCursor = false;
490
		try {
491
			parent::delete( $table, $conds, $fname );
492
		} catch ( Exception $e ) {
493
			$this->mScrollableCursor = true;
494
			throw $e;
495
		}
496
		$this->mScrollableCursor = true;
497
	}
498
499
	/**
500
	 * Estimate rows in dataset