Bug #20687 ยป 11436.diff

Administrator Admin, 2009-08-28 14:57

View differences:

typo3/sysext/dbal/class.ux_t3lib_db.php (working copy)
1132 1132
				$str = $type;
1133 1133
				break;
1134 1134
			case 'adodb':
1135
				$rs = $this->handlerInstance[$this->lastHandlerKey]->SelectLimit('SELECT * FROM '.$this->quoteFromTables($table),1);
1136
				$str = $rs->MetaType($type, $max_length);
1135
				$str = '';
1136
				if (in_array($table, $this->cache_fieldType)) {
1137
					$rs = $this->handlerInstance[$this->lastHandlerKey]->SelectLimit('SELECT * FROM ' . $this->quoteFromTables($table), 1);
1138
					$str = $rs->MetaType($type, $max_length);
1139
				}
1137 1140
				break;
1138 1141
			case 'userdefined':
1139 1142
				$str = $this->handlerInstance[$this->lastHandlerKey]->MetaType($str,$table,$max_length);
    (1-1/1)