@@ -22,7 +22,7 @@ func TestAnalyzeSquashJoinsExchange(t *testing.T) {
2222
2323 catalog := sql .NewCatalog ()
2424 catalog .AddDatabase (
25- gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (0 , lib )),
25+ gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (nil , lib )),
2626 )
2727 a := analyzer .NewBuilder (catalog ).
2828 WithParallelism (2 ).
@@ -61,7 +61,7 @@ func TestAnalyzeSquashNaturalJoins(t *testing.T) {
6161
6262 catalog := sql .NewCatalog ()
6363 catalog .AddDatabase (
64- gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (0 , lib )),
64+ gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (nil , lib )),
6565 )
6666 a := analyzer .NewBuilder (catalog ).
6767 WithParallelism (2 ).
@@ -2289,7 +2289,7 @@ func TestIsJoinLeafSquashable(t *testing.T) {
22892289
22902290func TestOrderedTableNames (t * testing.T ) {
22912291 lib := libraries .New (libraries.Options {})
2292- tables := gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (0 , lib )).Tables ()
2292+ tables := gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (nil , lib )).Tables ()
22932293
22942294 input := []sql.Table {
22952295 tables [gitbase .BlobsTableName ],
@@ -2831,5 +2831,5 @@ func (l dummyLookup) Indexes() []string {
28312831
28322832func gitbaseTables () map [string ]sql.Table {
28332833 lib := libraries .New (libraries.Options {})
2834- return gitbase .NewDatabase ("" , gitbase .NewRepositoryPool (0 , lib )).Tables ()
2834+ return gitbase .NewDatabase ("" , gitbase .NewRepositoryPool (nil , lib )).Tables ()
28352835}
0 commit comments