Project

General

Profile

Bug #16694 ยป 4472_class.ux_t3lib_sqlparser.patch

Administrator Admin, 2007-10-10 10:50

View differences:

class.ux_t3lib_db.php (working copy)
break;
case 'adodb':
$rs = $this->handlerInstance[$this->lastHandlerKey]->SelectLimit('SELECT * FROM '.$this->quoteFromTables($table),1);
$str = $rs->MetaType($type, $max_length);
if (is_object($rs)) {
$str = $rs->MetaType($type, $max_length);
} else {
// TODO ct 2007-10-09 ignore mapped tables and add entry in DBAL-error log (status = info)
// Find handler configuration:
$cfgArray = $this->handlerCfg[$this->lastHandlerKey];
$handlerType = (string)$cfgArray['type'];
$this->debug_log('SELECT * FROM '.$this->quoteFromTables($table), time(), $table, 0, 1, 'class.ux_t3lib_db.php');
t3lib_div::sysLog('Could not get MetaType fromDB server using ADOdb on '.$cfgArray['config']['host'].' with user '.$cfgArray['config']['username'].'.', 'Core', 1);
}
break;
case 'userdefined':
$str = $this->handlerInstance[$this->lastHandlerKey]->MetaType($str,$table,$max_length);
    (1-1/1)