| @@ 455-466 (lines=12) @@ | ||
| 452 | return $sql; |
|
| 453 | } |
|
| 454 | ||
| 455 | public function deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds, |
|
| 456 | $fname = __METHOD__ |
|
| 457 | ) { |
|
| 458 | $this->mScrollableCursor = false; |
|
| 459 | try { |
|
| 460 | parent::deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds, $fname ); |
|
| 461 | } catch ( Exception $e ) { |
|
| 462 | $this->mScrollableCursor = true; |
|
| 463 | throw $e; |
|
| 464 | } |
|
| 465 | $this->mScrollableCursor = true; |
|
| 466 | } |
|
| 467 | ||
| 468 | public function delete( $table, $conds, $fname = __METHOD__ ) { |
|
| 469 | $this->mScrollableCursor = false; |
|
| @@ 468-477 (lines=10) @@ | ||
| 465 | $this->mScrollableCursor = true; |
|
| 466 | } |
|
| 467 | ||
| 468 | public function delete( $table, $conds, $fname = __METHOD__ ) { |
|
| 469 | $this->mScrollableCursor = false; |
|
| 470 | try { |
|
| 471 | parent::delete( $table, $conds, $fname ); |
|
| 472 | } catch ( Exception $e ) { |
|
| 473 | $this->mScrollableCursor = true; |
|
| 474 | throw $e; |
|
| 475 | } |
|
| 476 | $this->mScrollableCursor = true; |
|
| 477 | } |
|
| 478 | ||
| 479 | /** |
|
| 480 | * Estimate rows in dataset |
|