diff options
author | U-QUAN-W4\Administrator | 2010-03-29 12:38:16 +0000 |
---|---|---|
committer | U-QUAN-W4\Administrator | 2010-03-29 12:38:16 +0000 |
commit | db232c996751a3b34b07b26cdf6497b6c610fffb (patch) | |
tree | c2ff22df272858920dc9d97ea1c6b8bd2d3c9129 | |
parent | 5661397311deb4e07a974eeb11bdd82d3387c1e1 (diff) |
-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)
|