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:20 +0200
committerNils Adermann <naderman@naderman.de>2014-07-04 21:08:20 +0200
commit53ff23671c2706c13bbe8ecca6b29b3c3456768b (patch)
tree9c53dc59698da5b4750e536f20552ffe088931c3 /phpBB/phpbb/db/sql_insert_buffer.php
parent86e21a9b261d6239487c626b7e9c9f462ceab611 (diff)
parentff6e026a403a622bd1aa498bff396a737735faed (diff)
downloadforums-53ff23671c2706c13bbe8ecca6b29b3c3456768b.tar
forums-53ff23671c2706c13bbe8ecca6b29b3c3456768b.tar.gz
forums-53ff23671c2706c13bbe8ecca6b29b3c3456768b.tar.bz2
forums-53ff23671c2706c13bbe8ecca6b29b3c3456768b.tar.xz
forums-53ff23671c2706c13bbe8ecca6b29b3c3456768b.zip
Merge remote-tracking branch 'github-nicofuma/ticket/12446' into develop-ascraeus
* github-nicofuma/ticket/12446: [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();
}