View Single Post
  #1  
Old 07-30-2003, 03:32 AM
RazorJack
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default strcpy(query, "SELECT MAX(id), count(*) FROM items"

Just compiled DR2 0.5.0. So far so good. Started up servers and saw it was calling for a table named items_. Why the need for items_ ?

Should:
strcpy(query, "SELECT MAX(ItemNumber), count(*) FROM items_");

be:
strcpy(query, "SELECT MAX(id), count(*) FROM items");

??