[postgres] remove warnings about overly-committed transactions
This commit is contained in:
parent
8a08571325
commit
756c91cbf7
1 changed files with 5 additions and 3 deletions
|
@ -131,9 +131,11 @@ try {
|
|||
|
||||
|
||||
// for databases which support transactions
|
||||
if($database->engine->name != "sqlite") {
|
||||
$database->db->CommitTrans(true);
|
||||
}
|
||||
// XXX: removed since we never start a transaction, and postgres
|
||||
// fills the disk with warnings about that
|
||||
//if($database->engine->name != "sqlite") {
|
||||
// $database->db->CommitTrans(true);
|
||||
//}
|
||||
|
||||
_end_cache();
|
||||
}
|
||||
|
|
Reference in a new issue