The transaction methods need to be renamed in order to fully implement the Db abstrac...
authorRobert Sesek <rsesek@bluestatic.org>
Wed, 21 Feb 2007 04:48:29 +0000 (04:48 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Wed, 21 Feb 2007 04:48:29 +0000 (04:48 +0000)
DbPostgreSql.php

index eae0ca43661ba7140abe574c52cdea57f8a5329c..8a0e8e561da939b2d7aa1d1fb4f8203d5b9fbfeb 100644 (file)
@@ -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");
        }