@@ -22,7 +22,7 @@ func TestAnalyzeSquashJoinsExchange(t *testing.T) {
22
22
23
23
catalog := sql .NewCatalog ()
24
24
catalog .AddDatabase (
25
- gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (0 , lib )),
25
+ gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (nil , lib )),
26
26
)
27
27
a := analyzer .NewBuilder (catalog ).
28
28
WithParallelism (2 ).
@@ -61,7 +61,7 @@ func TestAnalyzeSquashNaturalJoins(t *testing.T) {
61
61
62
62
catalog := sql .NewCatalog ()
63
63
catalog .AddDatabase (
64
- gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (0 , lib )),
64
+ gitbase .NewDatabase ("foo" , gitbase .NewRepositoryPool (nil , lib )),
65
65
)
66
66
a := analyzer .NewBuilder (catalog ).
67
67
WithParallelism (2 ).
@@ -2289,7 +2289,7 @@ func TestIsJoinLeafSquashable(t *testing.T) {
2289
2289
2290
2290
func TestOrderedTableNames (t * testing.T ) {
2291
2291
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 ()
2293
2293
2294
2294
input := []sql.Table {
2295
2295
tables [gitbase .BlobsTableName ],
@@ -2831,5 +2831,5 @@ func (l dummyLookup) Indexes() []string {
2831
2831
2832
2832
func gitbaseTables () map [string ]sql.Table {
2833
2833
lib := libraries .New (libraries.Options {})
2834
- return gitbase .NewDatabase ("" , gitbase .NewRepositoryPool (0 , lib )).Tables ()
2834
+ return gitbase .NewDatabase ("" , gitbase .NewRepositoryPool (nil , lib )).Tables ()
2835
2835
}
0 commit comments