1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-27 10:14:47 +02:00

[ticket/12282] Add Interface for DBAL drivers

PHPBB3-12282
This commit is contained in:
Joas Schilling
2014-03-17 13:03:45 +01:00
parent 5a3d4109bb
commit 7b131119e6
2 changed files with 357 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ namespace phpbb\db\driver;
* Database Abstraction Layer
* @package dbal
*/
class driver
abstract class driver implements driver_interface
{
var $db_connect_id;
var $query_result;
@@ -327,7 +327,7 @@ class driver
switch ($status)
{
case 'begin':
// If we are within a transaction we will not open another one, but enclose the current one to not loose data (prevening auto commit)
// If we are within a transaction we will not open another one, but enclose the current one to not loose data (preventing auto commit)
if ($this->transaction)
{
$this->transactions++;