Fix #1534
Update mysql/phalcon_test.sql
Test case for #1534
Update testDbMysql()
Merge pull request #1566 from sjinks/issue-1534

Fix #1534