aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/sql_insert_buffer.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-07-04 21:08:36 +0200
committerNils Adermann <naderman@naderman.de>2014-07-04 21:08:36 +0200
commite97fab49e2ce73a8cc179a934ed8c0a05057bda3 (patch)
treeef1a9f196e258b2a1297b84b59583fdab65d59d7 /phpBB/phpbb/db/sql_insert_buffer.php
parent4558262e2aaf31b4583a87622e97a46ead11537c (diff)
parent53ff23671c2706c13bbe8ecca6b29b3c3456768b (diff)
downloadforums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.gz
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.bz2
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.xz
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
Diffstat (limited to 'phpBB/phpbb/db/sql_insert_buffer.php')
-rw-r--r--phpBB/phpbb/db/sql_insert_buffer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/sql_insert_buffer.php b/phpBB/phpbb/db/sql_insert_buffer.php
index 6b6f556571..14e3c54f09 100644
--- a/phpBB/phpbb/db/sql_insert_buffer.php
+++ b/phpBB/phpbb/db/sql_insert_buffer.php
@@ -92,7 +92,7 @@ class sql_insert_buffer
// Flush buffer if it is full or when DB does not support multi inserts.
// In the later case, the buffer will always only contain one row.
- if (!$this->db->multi_insert || sizeof($this->buffer) >= $this->max_buffered_rows)
+ if (!$this->db->get_multi_insert() || sizeof($this->buffer) >= $this->max_buffered_rows)
{
return $this->flush();
}