Feature #14582 » class.t3lib_db.php.patch2_for_380rc1.diff
class.t3lib_db.php Wed May 18 15:21:25 2005 | ||
---|---|---|
// Debug:
|
||
var $debugOutput = FALSE; // Set "TRUE" if you want database errors outputted.
|
||
var $debug_lastBuiltQuery = ''; // Internally: Set to last built query (not necessarily executed...)
|
||
var $store_lastBuiltQuery = FALSE; // Set "TRUE" if you want the last built query to be stored in $debug_lastBuiltQuery independent of $debugOutput
|
||
// Default link identifier:
|
||
var $link;
|
||
/************************************
|
||
*
|
||
* Query execution
|
||
... | ... | |
)';
|
||
// Return query:
|
||
if ($this->debugOutput) $this->debug_lastBuiltQuery = $query;
|
||
if ($this->debugOutput || $this->store_lastBuiltQuery) $this->debug_lastBuiltQuery = $query;
|
||
return $query;
|
||
}
|
||
}
|
||
... | ... | |
'.$where : '');
|
||
// Return query:
|
||
if ($this->debugOutput) $this->debug_lastBuiltQuery = $query;
|
||
if ($this->debugOutput || $this->store_lastBuiltQuery) $this->debug_lastBuiltQuery = $query;
|
||
return $query;
|
||
}
|
||
} else {
|
||
... | ... | |
WHERE
|
||
'.$where : '');
|
||
if ($this->debugOutput) $this->debug_lastBuiltQuery = $query;
|
||
if ($this->debugOutput || $this->store_lastBuiltQuery) $this->debug_lastBuiltQuery = $query;
|
||
return $query;
|
||
} else {
|
||
die('<strong>TYPO3 Fatal Error:</strong> "Where" clause argument for DELETE query was not a string in $this->DELETEquery() !');
|
||
... | ... | |
}
|
||
// Return query:
|
||
if ($this->debugOutput) $this->debug_lastBuiltQuery = $query;
|
||
if ($this->debugOutput || $this->store_lastBuiltQuery) $this->debug_lastBuiltQuery = $query;
|
||
return $query;
|
||
}
|
||
- « Previous
- 1
- 2
- 3
- Next »