From fc8bf3f3c767067a03d240403598d62fb22ce889 Mon Sep 17 00:00:00 2001
From: Andreas Fischer <bantu@phpbb.com>
Date: Mon, 25 Mar 2013 01:41:09 +0100
Subject: [ticket/11469] Add comment about using sql_multi_insert when not
 buffering.

PHPBB3-11469
---
 phpBB/includes/db/sql_insert_buffer.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'phpBB/includes/db/sql_insert_buffer.php')

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));
 		}
 
-- 
cgit v1.2.1