@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | $this->check_fail(); |
| 371 | 371 | |
| 372 | 372 | $this->transaction('commit'); |
| 373 | - }catch(Exception $er){ |
|
| 373 | + } catch(Exception $er){ |
|
| 374 | 374 | $this->transaction('rollback'); |
| 375 | 375 | throw $er; |
| 376 | 376 | } |
@@ -409,7 +409,7 @@ discard block |
||
| 409 | 409 | |
| 410 | 410 | $this->transaction('commit'); |
| 411 | 411 | |
| 412 | - }catch(Exception $er){ |
|
| 412 | + } catch(Exception $er){ |
|
| 413 | 413 | $this->transaction('rollback'); |
| 414 | 414 | throw $er; |
| 415 | 415 | } |
@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | $where .= " {$key} {$v[0]} {$v[1]} :q_{$v[0]} "; |
| 473 | 473 | $whereData["q_{$v[0]}"] = $v[2]; |
| 474 | 474 | } |
| 475 | - }else{ |
|
| 475 | + } else{ |
|
| 476 | 476 | $where .= " {$key} {$value[0]} {$value[1]} :q_{$value[0]} "; |
| 477 | 477 | $whereData["q_{$value[0]}"] = $value[2]; |
| 478 | 478 | } |