aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-27 13:34:49 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-27 13:34:49 +0000
commitcbf220ea70fa7801f2dfc19ae086834c6fe87f8d (patch)
tree9fab22fdc105237b9e2ec70a3e8a520cc1a4cdbf /engine/lib
parentafa65955326919c7a29e9a6bff5c8e812c77988a (diff)
downloadelgg-cbf220ea70fa7801f2dfc19ae086834c6fe87f8d.tar.gz
elgg-cbf220ea70fa7801f2dfc19ae086834c6fe87f8d.tar.bz2
Removed explains since these weren't much use
git-svn-id: https://code.elgg.org/elgg/trunk@1180 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/database.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index 3e6677f75..9bbd9f5c6 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -162,8 +162,8 @@
{
$DB_PROFILE[] = $query;
- error_log("--- DB QUERY --- $query");
- error_log("--- EXPLANATION --- " . print_r(explain_query($query,$dblink), true));
+ //error_log("--- DB QUERY --- $query");
+ //error_log("--- EXPLANATION --- " . print_r(explain_query($query,$dblink), true));
}
if ($result = mysql_query("$query", $dblink)) {
@@ -205,8 +205,8 @@
{
$DB_PROFILE[] = $query;
- error_log("--- DB QUERY --- $query");
- error_log("--- EXPLANATION --- " . print_r(explain_query($query,$dblink), true));
+ //error_log("--- DB QUERY --- $query");
+ //error_log("--- EXPLANATION --- " . print_r(explain_query($query,$dblink), true));
}
if ($result = mysql_query("$query", $dblink)) {
@@ -243,7 +243,7 @@
{
$DB_PROFILE[] = $query;
- error_log("--- DB QUERY --- $query");
+ //error_log("--- DB QUERY --- $query");
}
if (mysql_query("$query", $dblink))
@@ -274,7 +274,7 @@
{
$DB_PROFILE[] = $query;
- error_log("--- DB QUERY --- $query");
+ //error_log("--- DB QUERY --- $query");
}
if (mysql_query("$query", $dblink))
@@ -306,7 +306,7 @@
{
$DB_PROFILE[] = $query;
- error_log("--- DB QUERY --- $query");
+ //error_log("--- DB QUERY --- $query");
}
if (mysql_query("$query", $dblink))