Code Duplication    Length = 10-12 lines in 2 locations

includes/db/DatabaseMssql.php 2 locations

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