Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli/sql: put a limit on history size
Previously, there was no limit. Some users managed to make their history run into megabyte-size, despite de-duplication, which was causing slowness. This patch fixes it by adding a limit of 1000 entries. Sufficiently large to not be inconvenient, but sufficiently small that it prevents the history file from growing abnormally large. Release note (cli change): The interactive SQL shell now retains a maximum of 1000 entries. There was no limit previously.
- Loading branch information