[drupal-devel] forum table WTF

Dries Buytaert dries at buytaert.net
Mon Jun 6 13:01:31 UTC 2005


On 06 Jun 2005, at 10:13, Gabor Hojtsy wrote:
> Looking at the code and database table of the forum module, I don't
> understand the role of the forum table to be honest. The forum  
> table is
> now only a nid->tid relation, while the term_node table would  
> suffice to
> express such relations. Term_node does not limit a node to only  
> have one
> parent term, but that is the sole difference it seems. Some queries in
> forum module use both the forum table and the term_node table, some  
> only
> the latter.

The table might be used for the 'Leave shadow copy' feature ...  
(random guess)?

If we can improve the performance of the forum module, by all means.   
It would be a tremendous improvement for sites like drupal.org,  
spreadfirefox.com, etc.

I don't mind removing the 'Leave shadow copy' feature if it makes the  
code simpler, improves performance and de-clutters the node edit form.

Are you going to investigate this some more?

--
Dries Buytaert  ::  http://www.buytaert.net/




More information about the drupal-devel mailing list