As marked by a TODO comment, the
DataHandler->truncate()
method should be converted to d7 API.
This is a simple conversion, so find attached a simple patch that does this.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | data-truncate-api-2762713-4.patch | 458 bytes | m1n0 |
| #2 | data-truncate-api-2762713-2.patch | 475 bytes | m1n0 |
Comments
Comment #2
m1n0 commentedComment #3
joachim commentedThanks for the patch!
Though it looks like escaping the table name is taken care of by core: https://api.drupal.org/api/drupal/includes%21database%21query.inc/functi...
Comment #4
m1n0 commentedAh of course, I missed that, here is the rerolled patch.
Comment #5
m1n0 commentedComment #6
jerry commentedWorking fine here. Let's RTBC it.
Comment #8
joachim commentedCommitted. Thanks everyone!