Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Dries commentedHi Andrei, committed this patch to CVS HEAD. Looking forward to your work. :)
Comment #3
(not verified) CreditAttribution: commented