Corretta creazione files isam temporanei
git-svn-id: svn://10.65.10.50/trunk@1008 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6308e82c35
commit
7796b9a1a3
@ -771,10 +771,7 @@ TIsamtempfile::TIsamtempfile(int logicnum, const char* radix, bool create)
|
|||||||
TRecnotype eod = 0;
|
TRecnotype eod = 0;
|
||||||
TRecnotype eox = 100;
|
TRecnotype eox = 100;
|
||||||
|
|
||||||
TFilename n; n.tempdir();
|
TFilename n; n.tempdir(); n << '/' << radix; n.ext("dta");
|
||||||
n.insert("%", 0);
|
|
||||||
n << '/' << radix;
|
|
||||||
n.ext("dta");
|
|
||||||
|
|
||||||
if (!create)
|
if (!create)
|
||||||
{
|
{
|
||||||
@ -789,7 +786,9 @@ TIsamtempfile::TIsamtempfile(int logicnum, const char* radix, bool create)
|
|||||||
}
|
}
|
||||||
|
|
||||||
_autodel = create > TRUE;
|
_autodel = create > TRUE;
|
||||||
|
|
||||||
|
n.ext("");
|
||||||
|
n.insert("%", 0);
|
||||||
open(n, create, eod, eox);
|
open(n, create, eod, eox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user