MySql chaining implementation; dev 0.3.8