aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/db/sql_insert_buffer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/db/sql_insert_buffer.php b/phpBB/includes/db/sql_insert_buffer.php
index 8d4b03ef53..fe45206893 100644
--- a/phpBB/includes/db/sql_insert_buffer.php
+++ b/phpBB/includes/db/sql_insert_buffer.php
@@ -65,6 +65,9 @@ class phpbb_db_sql_insert_buffer
{
if (!$this->db_supports_multi_insert)
{
+ // The database does not support multi inserts.
+ // Pass data on to sql_multi_insert right away which will
+ // immediately send an INSERT INTO query to the database.
$this->db->sql_multi_insert($this->table_name, array($row));
}