Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 495... Línea 495...
495
            'mod_quiz',
495
            'mod_quiz',
496
            'qa.uniqueid',
496
            'qa.uniqueid',
497
            $userid
497
            $userid
498
        );
498
        );
Línea 499... Línea -...
499
 
-
 
500
        // The layout column causes the union in the following query to fail on Oracle, it also appears to not be used.
499
 
501
        // So we can filter the return values to be only those used to generate the data, this will have the benefit
500
        // Filtering the return values to be only those used to generate the data, this will have the benefit
502
        // improving performance on all databases as we will no longer be returning a text field for each row.
501
        // improving performance on all databases as we will no longer be returning a text field for each row.
503
        $attemptfields = 'qa.id, qa.quiz, qa.userid, qa.attempt, qa.uniqueid, qa.preview, qa.state, qa.timestart, ' .
502
        $attemptfields = 'qa.id, qa.quiz, qa.userid, qa.attempt, qa.uniqueid, qa.preview, qa.state, qa.timestart, ' .
504
            'qa.timefinish, qa.timemodified, qa.timemodifiedoffline, qa.timecheckstate, qa.sumgrades, ' .
503
            'qa.timefinish, qa.timemodified, qa.timemodifiedoffline, qa.timecheckstate, qa.sumgrades, ' .