fix incorrect error position

This commit is contained in:
lsv 2026-06-23 09:21:34 +05:00
parent a3c5af7b42
commit 0f051f9e12

View file

@ -3701,7 +3701,7 @@ void frmQuery::OnQueryComplete(pgQueryResultEvent &ev)
else
{
wxString errMsg, errMsg2;
long errPos;
long errPos=0;
pgError err = sqlResult->GetResultError();
errMsg = err.formatted_msg;