The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > The UNIX Forums - Contact Us > Post Here to Contact Site Administrators and Moderators
Google UNIX.COM


Post Here to Contact Site Administrators and Moderators Make Suggestions About Forums, Features, or Content here. Discuss Rules and Guidelines. Get Forum Support Here. (Registered Users Only)

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 04:38 PM
cc and gcc not found asif iqbal UNIX for Dummies Questions & Answers 3 02-26-2005 03:58 AM
ksh: cvs: not found ?? rein UNIX for Advanced & Expert Users 2 01-05-2005 02:01 AM
MAC not found? merlin UNIX for Dummies Questions & Answers 1 05-15-2003 06:34 AM
HELP ld.so.1 NOT FOUND SmartJuniorUnix UNIX for Dummies Questions & Answers 1 10-04-2000 12:18 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 734
Have I found a bug?

When searching for new posts, I see that my voting in one of the polls counts as a 'new post'. However, while the '<blah> minutes ago' entry updates correctly, the 'by <username>' is the last user to actually post a comment in the poll instead.

Result:
Code:
Poll: vB Guest Book                  39 Minutes Ago                 6 	68 	
Neo                                  by jim mcnamara
But jim last posted to this topic 4 weeks ago.

Not exactly world-ending stuff but still... bug?
Reply With Quote
Forum Sponsor
  #2  
Old 05-14-2008
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,698
That post includes a poll as well. Perhaps someone may had voted in that poll. That may be the reason for the post to show up in the 'New Posts'.
Reply With Quote
  #3  
Old 05-15-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
I find that irritating, though.
Reply With Quote
  #4  
Old 05-15-2008
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,479
Also, the internal crontabs to update counters may run differently, since we don't update all counter every second to save CPU cycles ....
Reply With Quote
  #5  
Old 05-15-2008
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,638
That is actually the expected behavior, albeit not a most attractive implementation. The thread gets touched when you vote on a poll and hence gets promoted to the to pof the list in terms of most recent, but as you observed the "updated by" does not get changed because the poll vote is not a post.

The internal mechanism used by vb, for efficiency in queries, is it to take the top N list by date from the smaller table ( thread ) which contains a last post id as one of the columns and simply selects those ids from the post table. In the current implementation there is no way to tell if the last update is a poll vote or a real post.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0