diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-29 17:22:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-29 17:22:20 +0000 |
commit | 71e7e78bf85ca5218225fea2f04a0be8332c34b6 (patch) | |
tree | 3fc6417ffefedf274a0e27771813879af157b640 /modules | |
parent | dc0ffc1bc5569085b776b156628178e0ef924f6c (diff) | |
download | brdo-71e7e78bf85ca5218225fea2f04a0be8332c34b6.tar.gz brdo-71e7e78bf85ca5218225fea2f04a0be8332c34b6.tar.bz2 |
- Patch #105540 by souvent22: small SQL optimization.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
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') { |