Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow semicolons to trail database names in "use"
Prior to this commit, the "use" command treated trailing semicolons as significant parts of the database name. This lead to a confusing user experience since other parts of influxql treat the trailing semicolon as a statement separator, or appear to ignore it. A typical use case looks something like: > show databases; -- snip -- > use foo; This commit trims off trailing semicolons from database names in "use" commands if present to match user expectations. Fixes #2258
- Loading branch information