}
} ;
public static Store testStore(StoreDesc desc)
{
Store store = StoreFactory.create(desc) ;
// HSQL and H2 (in memory) need formatting
// Better would be to know in memory/on disk
// Relies on StoreDesc getting the label correctly (SDBConnectionFactory)
String jdbcURL = store.getConnection().getJdbcURL() ;
boolean isInMem = (jdbcURL==null ? false : jdbcURL.contains(":mem:") ) ;
if ( formatStores || inMem(store) )
store.getTableFormatter().create() ;
return store ;
}