diff --git a/DatabasePdoPgsql.php b/DatabasePdoPgsql.php index 97b895c..5de80da 100644 --- a/DatabasePdoPgsql.php +++ b/DatabasePdoPgsql.php @@ -3,7 +3,7 @@ /** * PDO/PostgreSQL wrapper with (mostly) DatabaseMySQL interface :) * Select builder is inspired by MediaWiki's one. - * Version: 2019-06-03 + * Version: 2019-12-28 * (c) Vitaliy Filippov, 2015-2019 */ @@ -88,7 +88,7 @@ class DatabasePdoPgsql implements Database 'reconnect' => true, 'tableNames' => array(), 'queryLogFile' => '', - 'autoBegin' => false, + 'autoBegin' => true, 'beginHook' => NULL, 'ondestroy' => 'commit', 'init' => array(), @@ -628,7 +628,7 @@ class DatabasePdoPgsql implements Database return $sql; } - protected function values($rows, $forInsert) + public function values($rows, $forInsert) { $key = reset($rows); if (!is_array($key))