File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,9 @@ func (c *Server) buildDatabase() error {
139
139
ab = ab .ReadOnly ()
140
140
}
141
141
a := ab .Build ()
142
- c .engine = sqle .New (catalog , a , c .Version )
142
+ c .engine = sqle .New (catalog , a , & sqle.Config {
143
+ VersionPostfix : c .Version ,
144
+ })
143
145
}
144
146
145
147
c .pool = gitbase .NewRepositoryPool ()
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ func newSquashEngine() *sqle.Engine {
736
736
analyzer := analyzer .NewBuilder (catalog ).
737
737
AddPostAnalyzeRule (rule .SquashJoinsRule , rule .SquashJoins ).
738
738
Build ()
739
- e := sqle .New (catalog , analyzer , "test" )
739
+ e := sqle .New (catalog , analyzer , & sqle. Config { VersionPostfix : "test" } )
740
740
e .AddDatabase (gitbase .NewDatabase ("foo" ))
741
741
e .Catalog .RegisterFunctions (sqlfunction .Defaults )
742
742
e .Catalog .RegisterFunctions (function .Functions )
You can’t perform that action at this time.
0 commit comments