diff options
-rwxr-xr-x | pgadmin/frm/frmImport.cpp | 2 | ||||
-rwxr-xr-x | pgadmin/utils/pgcsvfile.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pgadmin/frm/frmImport.cpp b/pgadmin/frm/frmImport.cpp index 658a1fa6f..e39271ace 100755 --- a/pgadmin/frm/frmImport.cpp +++ b/pgadmin/frm/frmImport.cpp @@ -1477,7 +1477,7 @@ void frmImport::ImportData() //bool logwarn = chkLogWarn->GetValue();
bool logstmt = chkLogStmt->GetValue();
bool loginfo = chkLogInfo->GetValue();
- bool logproc = chkLogInfo->GetValue();
+ bool logproc = chkLogProc->GetValue();
int impmode = (int)chcImportMode->GetClientData(chcImportMode->GetSelection());
int impdest = (int)chcImpDest->GetClientData(chcImpDest->GetSelection());
diff --git a/pgadmin/utils/pgcsvfile.cpp b/pgadmin/utils/pgcsvfile.cpp index 7a7459f7d..a283ceafd 100755 --- a/pgadmin/utils/pgcsvfile.cpp +++ b/pgadmin/utils/pgcsvfile.cpp @@ -2557,6 +2557,7 @@ bool pgCSVFile::NextLine(wxString& linedata, wxString**& linevals, int &valsnum) parsedrs = wxInvalidOffset;
m_curfilecont.Empty();
m_parsedoffset = 0;
+ parsedoffset = 0;
m_baseoffset = TellI();
}
else if (m_delimitedbychar)
|