Fix #1367: Undefined variable notice in AgaviMysqlDatabase