i explained.. I simply use that code to repair db consistency.
that was all ..... the second problem -
http://xx.xx8.xx.xx/download/chyba.gif - was because I deleted the PK keys .. and that was big mistake.. if you delete it, database will slow down a lot = deadlocks..
btw > but I still have problems with slow db... dual xeon, 4gbram and with 300 ppl I have sometimes 2sec ss lags and dont know why.. + server going to 96% cpu usage............ any help? its only sometime..