From be5624cf56d1b56bd36296ed116d5564b5388b35 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 Feb 2007 04:48:29 +0000 Subject: [PATCH] The transaction methods need to be renamed in order to fully implement the Db abstract class --- DbPostgreSql.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DbPostgreSql.php b/DbPostgreSql.php index eae0ca4..8a0e8e5 100644 --- a/DbPostgreSql.php +++ b/DbPostgreSql.php @@ -181,7 +181,7 @@ class BSDbPostgreSql extends BSDb /** * Starts a database transaction */ - public function transaction_start() + public function transactionStart() { $this->query("BEGIN"); } @@ -192,7 +192,7 @@ class BSDbPostgreSql extends BSDb * * @param string Named savepoint */ - public function transaction_savepoint($name) + public function transactionSavepoint($name) { $this->query("SAVEPOINT $name"); } @@ -203,7 +203,7 @@ class BSDbPostgreSql extends BSDb * * @param string Named savepoint */ - public function transaction_rollback($name = null) + public function transactionRollback($name = null) { $this->query("ROLLBACK" . ($name != null ? " TO $name" : "")); } @@ -212,7 +212,7 @@ class BSDbPostgreSql extends BSDb /** * Commits a database transaction */ - public function transaction_commit() + public function transactionCommit() { $this->query("COMMIT"); } -- 2.22.5