mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/11469] Add comment about using sql_multi_insert when not buffering.
PHPBB3-11469
This commit is contained in:
parent
16a6025372
commit
fc8bf3f3c7
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue