Posted by ealtman on October 22, 2010 at 8:16pm
1 follower
| Project: | Revision Deletion |
| Version: | 6.x-1.0-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | mysql error watchdog |
Issue Summary
Not a biggie, but the value 'Revision Deletion' is too big for the default varchar(16) TYPE field in the Watchdog table, when the single quotes get encoded. You get a MySQL error for every deletion as Watchdog tries to track the event.
In revision_deletion.module, in function revision_deletion_delete_rev I changed 'Revision Deletion' to 'RevDel' and this made the error go away.
If anyone's found a better solution to this, please let me know.