Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.9.3
-
Fix Version/s: 1.9.6
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
I have seen this query taking too much time to execute and generating a sql error
The mld_data_content table on moodle 1.9.3 does not have the type collumn
SELECT * FROM mdl_data_content WHERE recordid = 1111 AND type = 'text' ORDER BY recordid
This query is trigered by admin/cron.php and also index.php.
Issue Links
| This issue will be resolved by: | ||||
| MDL-19154 | data module not handled correctly by indexer. Error messages on update and raises MagPie RSS issues |
|
|
|
Wow Angelo,
I've been looking for any SQL statement combining "data_content" and "recordid" and only have found one in mod/data/view.php and it doesn't use "type" at all.
Do you have the complete stacktrace of the error? To see where it's exactly used?
TIA and ciao