|
@@ 415-422 (lines=8) @@
|
| 412 |
|
return $this->getServerVersion(); |
| 413 |
|
} |
| 414 |
|
|
| 415 |
|
public function bufferResults( $buffer = null ) { |
| 416 |
|
$res = !$this->getFlag( DBO_NOBUFFER ); |
| 417 |
|
if ( $buffer !== null ) { |
| 418 |
|
$buffer ? $this->clearFlag( DBO_NOBUFFER ) : $this->setFlag( DBO_NOBUFFER ); |
| 419 |
|
} |
| 420 |
|
|
| 421 |
|
return $res; |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
/** |
| 425 |
|
* Turns on (false) or off (true) the automatic generation and sending |
|
@@ 436-443 (lines=8) @@
|
| 433 |
|
* @param null|bool $ignoreErrors |
| 434 |
|
* @return bool The previous value of the flag. |
| 435 |
|
*/ |
| 436 |
|
protected function ignoreErrors( $ignoreErrors = null ) { |
| 437 |
|
$res = $this->getFlag( DBO_IGNORE ); |
| 438 |
|
if ( $ignoreErrors !== null ) { |
| 439 |
|
$ignoreErrors ? $this->setFlag( DBO_IGNORE ) : $this->clearFlag( DBO_IGNORE ); |
| 440 |
|
} |
| 441 |
|
|
| 442 |
|
return $res; |
| 443 |
|
} |
| 444 |
|
|
| 445 |
|
public function trxLevel() { |
| 446 |
|
return $this->mTrxLevel; |