summaryrefslogtreecommitdiff
path: root/modules/watchdog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-29 17:22:20 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-29 17:22:20 +0000
commit71e7e78bf85ca5218225fea2f04a0be8332c34b6 (patch)
tree3fc6417ffefedf274a0e27771813879af157b640 /modules/watchdog
parentdc0ffc1bc5569085b776b156628178e0ef924f6c (diff)
downloadbrdo-71e7e78bf85ca5218225fea2f04a0be8332c34b6.tar.gz
brdo-71e7e78bf85ca5218225fea2f04a0be8332c34b6.tar.bz2
- Patch #105540 by souvent22: small SQL optimization.
Diffstat (limited to 'modules/watchdog')
-rw-r--r--modules/watchdog/watchdog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 16129e11c..acb739011 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -120,7 +120,7 @@ function watchdog_overview() {
array('data' => t('Operations'))
);
- $sql = "SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid";
+ $sql = "SELECT w.wid, w.uid, w.severity, w.type, w.timestamp, w.message, w.link, u.name FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid";
$tablesort = tablesort_sql($header);
$type = $_SESSION['watchdog_overview_filter'];
if ($type != 'all') {