-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
Create database returns url with params:
$ ./bin/cql -config conf/config.yaml -create 1
INFO[0000] the newly created database is: "covenantsql://0f1a6b81b80da80001b41d891a38ff50e6bd07cd9504377670848c5638b604ca?use_follower=false&use_leader=true"
But cql cmd cannot parse database url with params
$ ./bin/cql -config conf/config.yaml -dsn "covenantsql://0f1a6b81b80da80001b41d891a38ff50e6bd07cd9504377670848c5638b604ca?use_follower=false&use_leader=true"
INFO[0000] connecting to "covenantsql://0f1a6b81b80da80001b41d891a38ff50e6bd07cd9504377670848c5638b604ca%3Fuse_follower=false&use_leader=true?use_follower=false&use_leader=true"
ERRO[0000] run cli error caller="main.go:290 main.main" error="covenantsql: parse covenantsql://0f1a6b81b80da80001b41d891a38ff50e6bd07cd9504377670848c5638b604ca%3Fuse_follower=false&use_leader=true?use_follower=false&use_leader=true: invalid URL escape \"%3F\"" stack="[#0 main.main@main.go:290 #1 runtime.main@proc.go:
Metadata
Metadata
Assignees
Labels
No labels