Fix #1366: Undefined variable notice in AgaviMysqliDatabase