Test for bug 20184: SELECT with no name generates invalid query string. invalid PASS reload