fix warning for mingw32

This commit is contained in:
lsv 2025-10-16 09:24:07 +05:00
parent 7db41df697
commit 0f91ec5e67
12 changed files with 55 additions and 33 deletions

View file

@ -315,12 +315,16 @@ wxString ctlSQLGrid::GetExportLine(int row, wxArrayInt cols)
if (text.Length() != 0) {
text.Replace(wxT("'"), wxT("''"));
}
else text = wxT("null");
else
text = wxT("null");
}
if (generatesql == 3) if (text == "null") str.Append(cname).Append(" is "); else
str.Append(cname).Append("=");
if (generatesql == 3) {
if (text == "null")
str.Append(cname).Append(" is ");
else
str.Append(cname).Append("=");
}
if (needQuote)
str.Append(qtsimbol);