$this->mScrollableCursor = false;
try {
parent::deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds, $fname );
- } catch( Exception $e ) {
+ } catch ( Exception $e ) {
$this->mScrollableCursor = true;
throw $e;
}
$this->mScrollableCursor = false;
try {
parent::delete( $table, $conds, $fname );
- } catch( Exception $e ) {
+ } catch ( Exception $e ) {
$this->mScrollableCursor = true;
throw $e;
}
$insertOptions,
$selectOptions
);
- } catch( Exception $e ) {
+ } catch ( Exception $e ) {
$this->mScrollableCursor = true;
throw $e;
}
$first = $offset + 1;
$last = $offset + $limit;
$sub1 = 'sub_' . $this->mSubqueryId;
- $sub2 = 'sub_' . ($this->mSubqueryId + 1);
+ $sub2 = 'sub_' . ( $this->mSubqueryId + 1 );
$this->mSubqueryId += 2;
if ( !$s1 ) {
// wat
}
$ret = '0x';
- for ( $i = 0; $i < strlen( $this->mData ); $i++ ) {
+ $dataLength = strlen( $this->mData );
+ for ( $i = 0; $i < $dataLength; $i++ ) {
$ret .= bin2hex( pack( 'C', ord( $this->mData[$i] ) ) );
}