Totally Zenned
- Join Date:
- Feb 2012
- Location:
- mostly harmless
- Posts:
- 1,816
- Plugin Contributions:
- 4
[Done v1.6.0] 1062:Duplicate entry for key 1 in db_cache
I would prefer an INSERT ... ON DUPLICATE KEY ... for MySQL.
Longer syntax, but does performs an UPDATE if the insert fails versus always doing a DELETE + INSERT (if I remember correctly).
The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker