fix crash app autocomplite

Приложение падало при вызове autocomplite если в тексте sql встречался
оператор is dictinct from.
В определении имён не учитавались вложенные скобки, что приводило
к неполному перечню полей в списке autocomplite.
This commit is contained in:
lsv 2024-08-05 17:28:26 +05:00 committed by lsv
parent b0e9e1bf84
commit 9902878806
3 changed files with 78 additions and 69 deletions

View file

@ -1542,6 +1542,7 @@ void ctlSQLBox::OnAutoComplete(wxCommandEvent &rev)
wxString tabn;
wxString r=f.GetColsList(field, lf, tabn);
if (r == "\t") r.clear();
int l2 = 0;
wxString flt = "";
wxString prev=tabn;