Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Environment:Windows 2003, Apache 2.2.4, PHP 5.2.5, Oracle 10g
-
Database:Oracle
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Description
When we try to check the database indexes from Admin->Misc->XMLDB editor->Check Indexes, after we confirm the run, we get a blank page after some time.
It seems index checking is taking longer than the configured max_execution_time and PHP stops executing the page. We should raise the execution time before calling '$xmldb_action->invoke();' to cater for this. I've tried with 'set_time_limit(0)' and it works ok, but I don't know the code so maybe this is a little bit too much and we could use a lower limit.
Saludos. Iñaki.
I've fixed this for 2.0 because, on it, we are running all the tests with the XMLDBCheckAction base class, so I've implemented time limit extension there.
Going to backport that to 1.9 individual tests... now.