MantisBT: master-1.3.x 0751d8e6

Author Committer Branch Timestamp Parent
cproensa cproensa master-1.3.x 2016-08-02 06:54 master-1.3.x 24ac2fab
Changeset

Create EXPORT_BLOCK_SIZE as constant

Used by csv and excel export procedures, to limit the
size of each working block of bugs.

Initial value is proposed after the potential errors for uncontolled
export:
A- Exceeding memory limit. Memory is used mainly for cached data.
Reported errors start to hapen at >10k bugs
B- Exceeding DB query limits: Mysql/others, limit is package size.
Oracle has a more problematic limit for 1000 elements in "IN" clauses".

A value of 500 is chosen as half of (B).

mod - core/constant_inc.php Diff File
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File