Commit f6b826b
Support 'limit' with show proxied queries
This truncates the output of `show proxied queries limit n` to n rows.
The truncation happens after our sorting so tha the top n rows are the
"most useful" ones as determined by our sorting.
Release-Note-Core: You can now limit the number of rows returned by
`show proxied queries` by adding a 'limit n' clause.
Change-Id: I8b3f877f2c299f5daf139e9a8cab8ea9c0e1839e
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6265
Tested-by: Buildkite CI
Reviewed-by: Jason Brown <[email protected]>1 parent 9bf1cc0 commit f6b826b
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| 1807 | + | |
1807 | 1808 | | |
1808 | 1809 | | |
1809 | 1810 | | |
| |||
1898 | 1899 | | |
1899 | 1900 | | |
1900 | 1901 | | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
1901 | 1906 | | |
1902 | 1907 | | |
1903 | 1908 | | |
| |||
2102 | 2107 | | |
2103 | 2108 | | |
2104 | 2109 | | |
| 2110 | + | |
2105 | 2111 | | |
2106 | 2112 | | |
2107 | 2113 | | |
| |||
0 commit comments