File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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 {
139139 ab = ab .ReadOnly ()
140140 }
141141 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+ })
143145 }
144146
145147 c .pool = gitbase .NewRepositoryPool ()
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ func newSquashEngine() *sqle.Engine {
736736 analyzer := analyzer .NewBuilder (catalog ).
737737 AddPostAnalyzeRule (rule .SquashJoinsRule , rule .SquashJoins ).
738738 Build ()
739- e := sqle .New (catalog , analyzer , "test" )
739+ e := sqle .New (catalog , analyzer , & sqle. Config { VersionPostfix : "test" } )
740740 e .AddDatabase (gitbase .NewDatabase ("foo" ))
741741 e .Catalog .RegisterFunctions (sqlfunction .Defaults )
742742 e .Catalog .RegisterFunctions (function .Functions )
You can’t perform that action at this time.
0 commit comments