lol wasteful mysql impl