Possible fix to mysql error 1052 in discussion