summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-22 20:20:35 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-22 20:20:35 +0000
commit72ae2d39953125a231592d2a2b7ad14afe35b1bd (patch)
tree1b261d628460a8db3775d6d83c1f928d2726ce1d /includes/common.inc
parent742410aafdf3d85ec3f0060e5c9fd1d09ee71672 (diff)
downloadbrdo-72ae2d39953125a231592d2a2b7ad14afe35b1bd.tar.gz
brdo-72ae2d39953125a231592d2a2b7ad14afe35b1bd.tar.bz2
- Bugfix: renamed the 'statistics' table to 'node_counter' as 'statistics' is
a reserved SQL keyword. Required for both PostgreSQL and MSSQL. Patch by Adrian. - Bugfix: renamed the 'path' table to 'url_alias' as 'path' is a reserved SQL keyword. Required for both PostgreSQL and MSSQL. Patch by Adrian.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 48984ac52..8ebbc1c26 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -39,7 +39,7 @@ function drupal_get_path_map($action = "") {
}
if (!$cache) {
- $result = db_query("SELECT * FROM {path}");
+ $result = db_query("SELECT * FROM {url_alias}");
while ($data = db_fetch_object($result)) {
$map[$data->dst] = $data->src;
}