From b682b4bee46d9b8c9b49d9169032719f6965bcbb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 16 Dec 2006 23:47:39 +0000 Subject: [PATCH] Get rid of _'s in the transaction methods --- db.php | 8 ++++---- db_mysql.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/db.php b/db.php index 06ac9da..0676d28 100644 --- a/db.php +++ b/db.php @@ -415,7 +415,7 @@ abstract class BSDb * Sends the command to start a transaction. This command should never * be reached as it's always overridden */ - public abstract function transaction_start(); + public abstract function transactionStart(); // ################################################################### /** @@ -424,7 +424,7 @@ abstract class BSDb * * @param string Named savepoint */ - public abstract function transaction_savepoint($name); + public abstract function transactionSavepoint($name); // ################################################################### /** @@ -433,14 +433,14 @@ abstract class BSDb * * @param string Named savepoint */ - public abstract function transaction_rollback($name = null); + public abstract function transactionRollback($name = null); // ################################################################### /** * Sends the command to commit the entire transaction. This command * should never be reached as it's always overridden */ - public abstract function transaction_commit(); + public abstract function transactionCommit(); // ################################################################### /** diff --git a/db_mysql.php b/db_mysql.php index cb24bef..e41a7f3 100644 --- a/db_mysql.php +++ b/db_mysql.php @@ -190,7 +190,7 @@ class BSDbMySql extends BSDb /** * Starts a database transaction */ - public function transaction_start() + public function transactionStart() { $this->query("BEGIN WORK"); } @@ -201,7 +201,7 @@ class BSDbMySql extends BSDb * * @param string Named savepoint */ - public function transaction_savepoint($name) + public function transactionSavepoint($name) { $this->query("SAVEPOINT $name"); } @@ -212,7 +212,7 @@ class BSDbMySql extends BSDb * * @param string Named savepoint */ - public function transaction_rollback($name = null) + public function transactionRollback($name = null) { $this->query("ROLLBACK" . ($name != null ? " TO SAVEPOINT $name" : "")); } @@ -221,7 +221,7 @@ class BSDbMySql extends BSDb /** * Commits a database transaction */ - public function transaction_commit() + public function transactionCommit() { $this->query("COMMIT"); } -- 2.43.5