more MySQL horribleness