mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
BUG FIX: debug data removed
This commit is contained in:
parent
b0b0383229
commit
88ac09848b
@ -156,7 +156,6 @@ class PostgreSQLDatabase extends Database {
|
|||||||
$starttime = microtime(true);
|
$starttime = microtime(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $sql . "<br><br>\n\n";
|
|
||||||
$handle = pg_query($this->dbConn, $sql);
|
$handle = pg_query($this->dbConn, $sql);
|
||||||
|
|
||||||
if(isset($_REQUEST['showqueries'])) {
|
if(isset($_REQUEST['showqueries'])) {
|
||||||
@ -1072,13 +1071,6 @@ class PostgreSQLDatabase extends Database {
|
|||||||
if($sqlQuery->having) $text .= " HAVING ( " . implode(" ) AND ( ", $sqlQuery->having) . " )";
|
if($sqlQuery->having) $text .= " HAVING ( " . implode(" ) AND ( ", $sqlQuery->having) . " )";
|
||||||
if($sqlQuery->orderby) $text .= " ORDER BY " . $sqlQuery->orderby;
|
if($sqlQuery->orderby) $text .= " ORDER BY " . $sqlQuery->orderby;
|
||||||
|
|
||||||
echo 'limit: <pre>';
|
|
||||||
print_r($sqlQuery->limit);
|
|
||||||
echo '</pre>';
|
|
||||||
echo 'order by:<pre>';
|
|
||||||
print_r($sqlQuery->orderby);
|
|
||||||
echo '</pre>';
|
|
||||||
|
|
||||||
if($sqlQuery->limit) {
|
if($sqlQuery->limit) {
|
||||||
$limit = $sqlQuery->limit;
|
$limit = $sqlQuery->limit;
|
||||||
// Pass limit as array or SQL string value
|
// Pass limit as array or SQL string value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user