diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-07 20:57:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-07 20:57:45 +0000 |
commit | 94d6b9abf046278d87640eadce2fa45591968778 (patch) | |
tree | a558c7b7530f0f6721d29b0cbf8ebf3b08da0d4d /database/database.pgsql | |
parent | 9e007c11aaf9cb39a566bc2215f7d373de8828ad (diff) | |
download | brdo-94d6b9abf046278d87640eadce2fa45591968778.tar.gz brdo-94d6b9abf046278d87640eadce2fa45591968778.tar.bz2 |
- Patch #29326 by Morbus: optimized performance of URL aliasing for newly installed sites.
There are a number of small optimizations we could add; like, we should never do more lookup queries than the number of unique URL aliases in the database. When the size of the static cache equals the number of unique URL aliases in the database, we can stop doing lookups. I think this could be implemented with a 2-line change. Takers?
Diffstat (limited to 'database/database.pgsql')
-rw-r--r-- | database/database.pgsql | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/database/database.pgsql b/database/database.pgsql index bf4ef150a..945a09009 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -856,8 +856,6 @@ INSERT INTO variable (name,value) VALUES ('filter_html_1','i:1;'); INSERT INTO locales_meta (locale, name, enabled, isdefault) VALUES ('en', 'English', '1', '1'); -INSERT INTO url_alias (src, dst) VALUES ('node/feed', 'rss.xml'); - INSERT INTO variable (name, value) VALUES ('node_options_forum', 'a:1:{i:0;s:6:"status";}'); INSERT INTO menu VALUES (2, 0, '', 'Primary links', '', 0, 115); |