MantisBT: master 06e76774

Author Committer Branch Timestamp Parent
dregad dregad master 2017-05-15 04:33:39 master b0b56c82
Affected Issues 0021871: Improve db_fetch_array performance
Changeset

Improve db_fetch_array performance

Improve db_fetch_array performance by caching the result from:

  • db_is_pgsql()
  • db_is_oracle()

Based on profiling, the repeated calls were using up to 20% of total
time for the db_fetch_array execution.

Fixes 0021871, PR https://github.com/mantisbt/mantisbt/pull/1105

mod - core/constant_inc.php Diff File
mod - core/database_api.php Diff File