Problem/Motivation
ip_anon module can't figure out how many rows were affected by an update query because Drupal core enables PDO::MYSQL_ATTR_FOUND_ROWS - which means update queries return matched rows rather than affected rows.
Proposed resolution
When a callback needs to run if there were affected rows, we can add a query condition (hostname != 0) to limit the number of matched rows to the affected rows.
| Comment | File | Size | Author |
|---|---|---|---|
| return-affected-rows.patch | 1.35 KB | mfb |
Comments
Comment #3
mfb