What is the preferred process to handle this? Should I open Issues on GitHub and then make pull requests against those?
I've outlined my findings below.
1) History is not updated correctly in SQLCommandPanel if ; appears in a search string and comments are not always removed.
Code: Select all
select * from People where LName not like '%a%'; -- test comment
select * from People where LName not like '%;%';
Code: Select all
select * from People where LName not like '%☺%';
3) A Comment at the end of a SQL statement is not filtered out correctly by SQLCommandPanel::ExecuteSQL() and is not filtered out by DatabaseQueryParser.cpp (maybe could be fixed by using the new, fixed output of ParseSql() from the solution to 1)
Also,
Code: Select all
"%;%"
Code: Select all
select * from People; -- TEST
select * from People where LName not like "%;%";