diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-18 16:43:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-18 16:43:56 +0000 |
commit | 7e8aa5268b9131946156a43ddfee3d1499932836 (patch) | |
tree | dad9bd4ff4fab9bb4ea97965fac342ba7e0e78d2 /update.php | |
parent | a1c0d416814bff336a83626c8c8c32331b82f00f (diff) | |
download | brdo-7e8aa5268b9131946156a43ddfee3d1499932836.tar.gz brdo-7e8aa5268b9131946156a43ddfee3d1499932836.tar.bz2 |
- Fixed bug in book_prev(). Patch by Andy Colson.
- Book optimizations: updated to use inner joins. Patch by Andy Colson.
This should address bug #1373.
TODO: add index to MSSQL database scheme.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php index 8b595c385..0915618c0 100644 --- a/update.php +++ b/update.php @@ -64,7 +64,8 @@ $mysql_updates = array( "2003-01-05" => "update_49", "2003-01-15" => "update_50", "2003-04-19" => "update_51", - "2003-04-20" => "update_52" + "2003-04-20" => "update_52", + "2003-05-18" => "update_53" ); // Update functions @@ -704,6 +705,10 @@ function update_52() { update_sql("UPDATE sequences SET name = 'term_data_tid' WHERE name = 'term_data'"); } +function update_53() { + update_sql("CREATE INDEX book_parent ON book(parent);"); +} + function update_upgrade3() { update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)"); update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)"); |