- apply the code changes from D359 to make this revision test plan work
- in IDE:
- open /system/debug.php file for editing
- uncomment DBG_CAPTURE_STATISTICS and DBG_MAX_SQL_TIME constant declarations
- set 0 (instead of current value of 2) as value for DBG_MAX_SQL_TIME constant
- comment-out $dbg_options['DEBUG_MODE'] element
- save changes
- in Web Browser
- go to Front-End
- reload the page
- confirm, that no Fatal Error happened
- in Database browser
- open SlowSqlCapture table
- confirm, that some records were added in that table
- confirm, that some records have 2 or larger value in the Hits column
- confirm, for for such records (Hits > 1) values in TimeMin, TimeAvg and TimeMax columns are different
- rollback all changes made in IDE
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 919 Build 919: arc lint + arc unit
Event Timeline
Comment Actions
Happens fatal error in the line
$this->queryID->free();
when queryID = true.
Need change code to skip $this->queryID->free(); call when queryID is boolean.
Comment Actions
I haven't noticed, that even though this fix looks standalone it still results in a Fatal Error until fix from D359 is applied. I've updated test plan to reflect that.