Merge "Improve tableExists() for MySQL"