From 756c91cbf7bb2c15ff5ffd876898330b842909b1 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 23 Apr 2010 16:18:36 +0100 Subject: [PATCH] [postgres] remove warnings about overly-committed transactions --- index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index bb7f5f2e..9f588e72 100644 --- a/index.php +++ b/index.php @@ -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(); }