|
From: Frank V. C. <fr...@us...> - 2001-04-17 09:59:46
|
Update of /cvsroot/corelinux/clfw/src/libs/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv12842/src/libs/Persist
Modified Files:
Makefile.am SchemaCatStore.cpp
Added Files:
SchemaStore.cpp
Log Message:
Updated Schema management
***** Error reading new file: [Errno 2] No such file or directory: 'SchemaStore.cpp'
Index: Makefile.am
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/Persist/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Makefile.am 2001/04/15 16:36:08 1.5
--- Makefile.am 2001/04/17 09:59:43 1.6
***************
*** 21,25 ****
SchemaCatalog.cpp \
SchemaAbstractStore.cpp \
! SchemaCatStore.cpp
--- 21,26 ----
SchemaCatalog.cpp \
SchemaAbstractStore.cpp \
! SchemaCatStore.cpp \
! SchemaStore.cpp
Index: SchemaCatStore.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/Persist/SchemaCatStore.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SchemaCatStore.cpp 2001/04/15 16:36:08 1.1
--- SchemaCatStore.cpp 2001/04/17 09:59:43 1.2
***************
*** 153,157 ****
{
aSd = SchemaAbstractStore::fetchDesc( gPrimaryKey );
! theDescriptor = *(CatalogDescriptorPtr(aSd.data));
}
else
--- 153,165 ----
{
aSd = SchemaAbstractStore::fetchDesc( gPrimaryKey );
! if( aSd.data != NULLPTR )
! {
! theDescriptor = *(CatalogDescriptorPtr(aSd.data));
! std::free( aSd.data );
! }
! else
! {
! throw NullPointerException( LOCATION );
! }
}
else
|