mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11469] Add note about calling flush() after batch insert is done.
PHPBB3-11469
This commit is contained in:
parent
dc766f29b4
commit
53f9e2131c
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ if (!defined('IN_PHPBB'))
|
||||||
* - Usage of less PHP memory because data no longer needed is discarded on
|
* - Usage of less PHP memory because data no longer needed is discarded on
|
||||||
* buffer flush.
|
* buffer flush.
|
||||||
*
|
*
|
||||||
|
* Attention:
|
||||||
|
* Please note that users of this class have to call flush() to flush the
|
||||||
|
* remaining rows to the database after their batch insert operation is
|
||||||
|
* finished.
|
||||||
|
*
|
||||||
* Usage:
|
* Usage:
|
||||||
* <code>
|
* <code>
|
||||||
* $buffer = new phpbb_db_sql_insert_buffer($db, 'test_table', 1234);
|
* $buffer = new phpbb_db_sql_insert_buffer($db, 'test_table', 1234);
|
||||||
|
|
Loading…
Add table
Reference in a new issue