MDEV-6781 view with wrong table name