diff options
author | terry%mozilla.org <> | 1999-10-12 02:14:30 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-10-12 02:14:30 +0200 |
commit | 73627e594d61e4606b57880cb35bdc50efb3e900 (patch) | |
tree | 329975a02b727ff925fdf1b4aae13b942bd2014c /CHANGES | |
parent | 76965a12c5f49e9a6bf99ea0f2d88ba0852bab3d (diff) | |
download | bugzilla-73627e594d61e4606b57880cb35bdc50efb3e900.tar.gz bugzilla-73627e594d61e4606b57880cb35bdc50efb3e900.tar.xz |
Added a "votes" field to the bugs table, which caches the total number
of votes that have been cast for that bug. This let me simplify the
SQL in buglist.cgi, which makes things more efficient and fixes
several strange bugs.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -10,6 +10,23 @@ query the CVS tree. For example, will tell you what has been changed in the last week. +10/11/99 Restructured voting database to add a cached value in each +bug recording how many total votes that bug has. While I'm at it, I +removed the unused "area" field from the bugs database. It is +distressing to realize that the bugs table has reached the maximum +number of indices allowed by MySQL (16), which may make future +enhancements awkward. + +You must feed the following to MySQL: + + alter table bugs drop column area; + alter table bugs add column votes mediumint not null, add index (votes); + +If you have been using the voting feature at all, then you will need +to update the cache. You can do this by visiting the sanitycheck.cgi +page, and taking it up on its offer to rebuild the votes stuff. + + 10/7/99 Added voting ability. You must run the new script "makevotestable.sh". You must also feed the following to mysql: |