Anonymous - 2012-10-08

SQL script to reproduce the bug