Project

General

Profile

Bug #18064 » dbal.diff

Administrator Admin, 2008-02-03 15:14

View differences:

/home/klee/eclipse/typo3_dbal/typo3/sysext/dbal/class.ux_t3lib_db.php (working copy)
$tableArray = $this->SQLparser->parseFromTables($_tableList);
// If success, traverse the tables:
if (is_array($tableArray) && count($tableArray)) {
if (is_array($tableArray) && count($tableArray)) {
$outputHandlerKey = '';
foreach($tableArray as $vArray) {
// Find handler key, select "_DEFAULT" if none is specifically configured:
$handlerKey = $this->table2handlerKeys[$vArray['table']] ? $this->table2handlerKeys[$vArray['table']] : '_DEFAULT';
......
$handlerKey = $this->table2handlerKeys[$vArray['table']] ? $this->table2handlerKeys[$vArray['table']] : '_DEFAULT';
// In case of separate handler keys for joined tables:
if ($outputHandlerKey && $handlerKey != $outputHandlerKey) {
if (($outputHandlerKey != '') && ($handlerKey != $outputHandlerKey)) {
die('DBAL fatal error: Tables in this list "'.$tableList.'" didn\'t use the same DB handler!');
}
(2-2/2)