When sorting values in grid using limit in the query causes an error.
I believe this is similar to bug #2009 but note sure.
Send mp4 attached for analysis
I was able to confirm this.
Just do select * from foo limit 42 and hit a column header repeatedly.
select * from foo limit 42
On the third click, it'll attempt to execute select * from foolimit 42, and fail due to the missing whitespace.
select * from foolimit 42