public void test_namedSubquery746() throws Exception, TokenMgrError, ParseException, IOException {
  optimizeQuery("ticket746");
}

public void test_namedSubquery746 ( ) throws Exception , TokenMgrError , ParseException , IOException { optimizeQuery ( "ticket746" ) ; }
unit test for with { subquery } as " name " and include . the with must be in the top - level query . this is specifically for trac 746 which crashed out during optimize . so the test simply runs that far , and does not verify anything other than the ability to optimize without an exception
