Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2007 at 22:22 UTC
Updated:
13 Mar 2007 at 12:15 UTC
Although TRUNCATE TABLE is faster (in MySql), I believe it is not a standard SQL command. I'm working on an SQLite layer. It is almost ready. I've noticed that cache.inc uses once the TRUNCATE TABLE command and I've replaced it with DELETE FROM.
Best wishes,
Andrei.
| Comment | File | Size | Author |
|---|---|---|---|
| cache_25.patch | 586 bytes | abautu |
Comments
Comment #1
drummPlease do not mark your own patches as 'ready to commit'.
However, this is true- http://dev.mysql.com/doc/refman/4.1/en/truncate.html
Committed to 5.
Comment #2
dries commentedHi Andrei, committed this patch to CVS HEAD. Looking forward to your work. :)
Comment #3
(not verified) commented