diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-03-27 19:27:27 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-03-27 19:27:27 +0100 |
commit | 53f9e2131c9b87d35207ea585981fc9b084d0a11 (patch) | |
tree | 973a2747213c86b2d027513ca2fdc3609408bdea /phpBB | |
parent | dc766f29b4381e3cecfacbfeb848b4e13c3e48f9 (diff) | |
download | forums-53f9e2131c9b87d35207ea585981fc9b084d0a11.tar forums-53f9e2131c9b87d35207ea585981fc9b084d0a11.tar.gz forums-53f9e2131c9b87d35207ea585981fc9b084d0a11.tar.bz2 forums-53f9e2131c9b87d35207ea585981fc9b084d0a11.tar.xz forums-53f9e2131c9b87d35207ea585981fc9b084d0a11.zip |
[ticket/11469] Add note about calling flush() after batch insert is done.
PHPBB3-11469
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/db/sql_insert_buffer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/db/sql_insert_buffer.php b/phpBB/includes/db/sql_insert_buffer.php index dd4a62a948..3bd96616b3 100644 --- a/phpBB/includes/db/sql_insert_buffer.php +++ b/phpBB/includes/db/sql_insert_buffer.php @@ -31,6 +31,11 @@ if (!defined('IN_PHPBB')) * - Usage of less PHP memory because data no longer needed is discarded on * 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: * <code> * $buffer = new phpbb_db_sql_insert_buffer($db, 'test_table', 1234); |