When upgrading my database from 1.3.8 to 1.3.9, I get this error:

1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
in:
[CREATE TABLE counter_history_clean as SELECT * FROM counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

My install is otherwise complete, as far as I can tell.

Is there another way to patch the database?