Patch level :2.0 AGA
Files correlati :libs Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@10789 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6ea61012c1
commit
6e3dfaa0ec
@ -2458,11 +2458,12 @@ int TSystemisamfile::load(
|
||||
s.restart();
|
||||
for (int j = 0; j < nflds; j++)
|
||||
{
|
||||
char* s2 = (char*) s.get();
|
||||
s1 = s.get();
|
||||
if (fd)
|
||||
{
|
||||
s1.rtrim(1);
|
||||
s1.ltrim(1);
|
||||
|
||||
}
|
||||
if (curr().type((const TString&) fld[j]) == _memofld)
|
||||
{
|
||||
@ -2471,22 +2472,21 @@ int TSystemisamfile::load(
|
||||
s1 = esc(s2);
|
||||
}
|
||||
|
||||
|
||||
put((const TString&) fld[j], s1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int err = write();
|
||||
if (err == _isreinsert)
|
||||
err = rewrite();
|
||||
|
||||
if (err == NOERR)
|
||||
r++;
|
||||
else
|
||||
{
|
||||
error_box("Errore di scrittura alla riga %ld", r+e+1);
|
||||
// error_box("Errore di scrittura alla riga %ld", r+e+1);
|
||||
e++;
|
||||
last = status();
|
||||
break;
|
||||
// break;
|
||||
}
|
||||
}
|
||||
s1.format("Imp. archivio %d\n%6ld records %6ld errori - %3d", _logicnum, r, e, last);
|
||||
|
@ -831,7 +831,7 @@ public:
|
||||
bool select_current();
|
||||
bool goto_selected();
|
||||
void set_header(const char* head);
|
||||
|
||||
void set_row_height(int rh);
|
||||
|
||||
TTree_window(int x, int y, int dx, int dy,
|
||||
WINDOW parent, TTree_field* owner);
|
||||
|
Loading…
x
Reference in New Issue
Block a user