Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 452... Línea 452...
452
        list($nontmpsql, $nontmpparams) = $makefetchsql(false);
452
        list($nontmpsql, $nontmpparams) = $makefetchsql(false);
453
        list($tmpsql, $tmpparams) = $makefetchsql(true);
453
        list($tmpsql, $tmpparams) = $makefetchsql(true);
Línea 454... Línea 454...
454
 
454
 
455
        // Oracle does not support UNION on text fields, therefore we must get the itemdescription
455
        // Oracle does not support UNION on text fields, therefore we must get the itemdescription
-
 
456
        // and valuevalue after doing the union by joining on the result.
456
        // and valuevalue after doing the union by joining on the result.
457
        // TODO: Optimise the query, as Oracle-specific constraints no longer apply.
457
        $sql = "
458
        $sql = "
Línea 458... Línea 459...
458
            SELECT q.*,
459
            SELECT q.*,