Skip to content

Commit

Permalink
Merge pull request #126 from tursodatabase/fix-schema-option-bug
Browse files Browse the repository at this point in the history
fix WithSchemaDb option bug
  • Loading branch information
haaawk authored Jul 16, 2024
2 parents 469d297 + d4f0f85 commit 2cfb92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsql/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func WithProxy(proxy string) Option {

func WithSchemaDb(schemaDb bool) Option {
return option(func(o *config) error {
if o.tls != nil {
if o.schemaDb != nil {
return fmt.Errorf("schemaDb already set")
}
o.schemaDb = &schemaDb
Expand Down

0 comments on commit 2cfb92c

Please sign in to comment.