[Bug 8370] SQL test failing