mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/11469] Add comment about using sql_multi_insert when not buffering.
PHPBB3-11469
This commit is contained in:
@@ -65,6 +65,9 @@ class phpbb_db_sql_insert_buffer
|
|||||||
{
|
{
|
||||||
if (!$this->db_supports_multi_insert)
|
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));
|
$this->db->sql_multi_insert($this->table_name, array($row));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user