2015-03-21 12:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbf1.c
! restored the line with initialization of allocated memory buffer
I deleted by mistake removing my private comments before commit.
Without this line sort could randomly crash on small tables (less
then 65537 sorted records)
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2015-03-21 12:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rdd/dbf1.c
|
||||
! restored the line with initialization of allocated memory buffer
|
||||
I deleted by mistake removing my private comments before commit.
|
||||
Without this line sort could randomly crash on small tables (less
|
||||
then 65537 sorted records)
|
||||
|
||||
2015-03-20 16:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* include/Makefile
|
||||
- include/hbdbsort.h
|
||||
|
||||
@@ -5378,6 +5378,7 @@ static HB_ERRCODE hb_dbfSortFinish( LPDBSORTREC pSortRec )
|
||||
pSortRec->pSwapPages[ 0 ].pnRecords = hb_dbfSortSort( pSortRec );
|
||||
pSortRec->nPages = 1;
|
||||
pSortRec->pnIndex = ( HB_SORTIDX * ) hb_xrealloc( pSortRec->pnIndex, sizeof( HB_SORTIDX ) );
|
||||
pSortRec->pnIndex[ 0 ] = 0;
|
||||
if( pSortRec->pSortArray )
|
||||
{
|
||||
hb_itemRelease( pSortRec->pSortArray );
|
||||
|
||||
Reference in New Issue
Block a user