2001-06-16 20:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-06-16 20:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/rdd/dbcmd.c
|
||||
! Bug fixed in dbCreate(), which caused unreleased memory blocks.
|
||||
|
||||
2001-06-15 23:35 UTC+1 JFL (mafact) <jfl@mafact.com>
|
||||
* harbour/source/vm/Classe.c
|
||||
* Hb_ClsScope finally working :-(
|
||||
|
||||
@@ -1288,7 +1288,6 @@ HB_FUNC( DBCREATE )
|
||||
|
||||
if( !bOpen )
|
||||
{
|
||||
hb_xfree( szFileName );
|
||||
hb_rddReleaseCurrentArea();
|
||||
hb_rddSelectWorkAreaNumber( uiPrevArea );
|
||||
}
|
||||
@@ -1313,10 +1312,15 @@ HB_FUNC( DBCREATE )
|
||||
pInfo.fShared = !hb_set.HB_SET_EXCLUSIVE;
|
||||
( ( AREAP ) s_pCurrArea->pArea )->uiArea = s_uiCurrArea;
|
||||
if( SELF_OPEN( ( AREAP ) s_pCurrArea->pArea, &pInfo ) == FAILURE )
|
||||
{
|
||||
s_bNetError = TRUE; /* Temp fix! What about other types of errors? */
|
||||
hb_rddReleaseCurrentArea();
|
||||
}
|
||||
else
|
||||
hb_retl( TRUE );
|
||||
hb_xfree( pInfo.abName );
|
||||
}
|
||||
hb_xfree( szFileName );
|
||||
}
|
||||
|
||||
HB_FUNC( DBDELETE )
|
||||
|
||||
Reference in New Issue
Block a user