From 0f051f9e1273eee498d64ae7b6f556d949bddeb3 Mon Sep 17 00:00:00 2001 From: lsv Date: Tue, 23 Jun 2026 09:21:34 +0500 Subject: [PATCH] fix incorrect error position --- frm/frmQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frm/frmQuery.cpp b/frm/frmQuery.cpp index 12f6ff4..5005c51 100644 --- a/frm/frmQuery.cpp +++ b/frm/frmQuery.cpp @@ -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;