Quote:
Originally posted by TranceMaster
how would i go about removing this hack
after installing it, my forum has been going very very slow 
how do i remove these queries?
-------------------------------------------------------------------------------
ALTER TABLE attachment ADD hash VARCHAR(32) DEFAULT '0' NOT NULL;
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
UPDATE attachment SET hash = md5(filedata);
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
ALTER TABLE attachment ADD INDEX(hash);
-------------------------------------------------------------------------------
hope sum1 can help
thanks
|
If you use PHPMyAdmin you can remove the hash field and the index just by clicking the links in PHPMyAdmin.
In the table listing menu click attachment.
Then in the fields table click delete in the hash row.
And last click delete a little below in the index area.