Res_odbc.c: SQL Execute returned an error: 23000: Duplicate entry for key 'PRIMARY'

I’ve seen these errors before, and they’ve always been caused by some oddball Asternic Reports MySQL TRIGGER.