@@ -515,7 +515,8 @@ bool VCTFAM::AllocateBuffer(PGLOBAL g)
515
515
for (; cp; cp = (PVCTCOL)cp->Next )
516
516
cp->Blk = AllocValBlock (g, NewBlock + Nrec * cp->Deplac ,
517
517
cp->Buf_Type , Nrec, cp->Format .Length ,
518
- cp->Format .Prec , chk);
518
+ cp->Format .Prec , chk, true ,
519
+ cp->IsUnsigned ());
519
520
520
521
return InitInsert (g); // Initialize inserting
521
522
} else {
@@ -549,7 +550,8 @@ bool VCTFAM::AllocateBuffer(PGLOBAL g)
549
550
for (; cp; cp = (PVCTCOL)cp->Next )
550
551
if (!cp->IsSpecial ()) // Not a pseudo column
551
552
cp->Blk = AllocValBlock (g, NULL , cp->Buf_Type , Nrec,
552
- cp->Format .Length , cp->Format .Prec );
553
+ cp->Format .Length , cp->Format .Prec ,
554
+ true , true , cp->IsUnsigned ());
553
555
554
556
} // endif mode
555
557
@@ -1516,7 +1518,8 @@ bool VCMFAM::AllocateBuffer(PGLOBAL g)
1516
1518
for (cp = (PVCTCOL)Tdbp->GetColumns (); cp; cp = (PVCTCOL)cp->Next )
1517
1519
if (!cp->IsSpecial ()) { // Not a pseudo column
1518
1520
cp->Blk = AllocValBlock (g, (void *)1 , cp->Buf_Type , Nrec,
1519
- cp->Format .Length , cp->Format .Prec );
1521
+ cp->Format .Length , cp->Format .Prec ,
1522
+ true , true , cp->IsUnsigned ());
1520
1523
cp->AddStatus (BUF_MAPPED);
1521
1524
} // endif IsSpecial
1522
1525
@@ -2067,7 +2070,7 @@ bool VECFAM::AllocateBuffer(PGLOBAL g)
2067
2070
for (cp = (PVCTCOL)tdbp->Columns ; cp; cp = (PVCTCOL)cp->Next )
2068
2071
cp->Blk = AllocValBlock (g, To_Bufs[cp->Index - 1 ],
2069
2072
cp->Buf_Type , Nrec, cp->Format .Length ,
2070
- cp->Format .Prec , chk);
2073
+ cp->Format .Prec , chk, true , cp-> IsUnsigned () );
2071
2074
2072
2075
return InitInsert (g);
2073
2076
} else {
@@ -2116,7 +2119,8 @@ bool VECFAM::AllocateBuffer(PGLOBAL g)
2116
2119
for (cp = (PVCTCOL)tdbp->Columns ; cp; cp = (PVCTCOL)cp->Next )
2117
2120
if (!cp->IsSpecial ()) // Not a pseudo column
2118
2121
cp->Blk = AllocValBlock (g, NULL , cp->Buf_Type , Nrec,
2119
- cp->Format .Length , cp->Format .Prec );
2122
+ cp->Format .Length , cp->Format .Prec ,
2123
+ true , true , cp->IsUnsigned ());
2120
2124
2121
2125
} // endif mode
2122
2126
@@ -2887,7 +2891,8 @@ bool VMPFAM::AllocateBuffer(PGLOBAL g)
2887
2891
for (cp = (PVCTCOL)Tdbp->GetColumns (); cp; cp = (PVCTCOL)cp->Next )
2888
2892
if (!cp->IsSpecial ()) { // Not a pseudo column
2889
2893
cp->Blk = AllocValBlock (g, (void *)1 , cp->Buf_Type , Nrec,
2890
- cp->Format .Length , cp->Format .Prec );
2894
+ cp->Format .Length , cp->Format .Prec ,
2895
+ true , true , cp->IsUnsigned ());
2891
2896
cp->AddStatus (BUF_MAPPED);
2892
2897
} // endif IsSpecial
2893
2898
@@ -3669,7 +3674,7 @@ bool BGVFAM::AllocateBuffer(PGLOBAL g)
3669
3674
for (; cp; cp = (PVCTCOL)cp->Next )
3670
3675
cp->Blk = AllocValBlock (g, NewBlock + Nrec * cp->Deplac ,
3671
3676
cp->Buf_Type , Nrec, cp->Format .Length ,
3672
- cp->Format .Prec , chk);
3677
+ cp->Format .Prec , chk, true , cp-> IsUnsigned () );
3673
3678
3674
3679
InitInsert (g); // Initialize inserting
3675
3680
@@ -3717,7 +3722,8 @@ bool BGVFAM::AllocateBuffer(PGLOBAL g)
3717
3722
for (; cp; cp = (PVCTCOL)cp->Next )
3718
3723
if (!cp->IsSpecial ()) // Not a pseudo column
3719
3724
cp->Blk = AllocValBlock (g, NULL , cp->Buf_Type , Nrec,
3720
- cp->Format .Length , cp->Format .Prec );
3725
+ cp->Format .Length , cp->Format .Prec ,
3726
+ true , true , cp->IsUnsigned ());
3721
3727
3722
3728
} // endif mode
3723
3729
0 commit comments