oll98 / phpgsb

Automatically exported from code.google.com/p/phpgsb
Other
1 stars 0 forks source link

fatalerror() will not rollback in verbose mode #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is a bug in the phpGSB::fatalerror() function.
Since the if($this->verbose) {} code block contains a die() function call, the 
line below the if statement 

$this->trans_rollback();

will never execute in verbose mode.

The die() function call should be taken outside the if statement and put below 
trans_rollback() call.

Original issue reported on code.google.com by richard....@gmail.com on 10 Dec 2011 at 11:03

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r33.

Original comment by s...@beaver6813.com on 11 Dec 2011 at 5:49

GoogleCodeExporter commented 8 years ago
Fix can be found in V0.2.3, thanks Richard :)

Original comment by cleaver....@gmail.com on 11 Dec 2011 at 5:51