Remove some weird code around opal_db_close and cleanup that framework's open/close operation
This commit was SVN r28298.
Этот коммит содержится в:
родитель
10257b8b43
Коммит
c121a784ae
@ -14,7 +14,6 @@ headers += \
|
|||||||
base/base.h
|
base/base.h
|
||||||
|
|
||||||
libmca_db_la_SOURCES += \
|
libmca_db_la_SOURCES += \
|
||||||
base/db_base_open.c \
|
base/db_base_frame.c \
|
||||||
base/db_base_close.c \
|
|
||||||
base/db_base_select.c \
|
base/db_base_select.c \
|
||||||
base/db_base_fns.c
|
base/db_base_fns.c
|
||||||
|
@ -41,8 +41,14 @@ opal_db_base_module_t opal_db = {
|
|||||||
};
|
};
|
||||||
opal_db_base_t opal_db_base;
|
opal_db_base_t opal_db_base;
|
||||||
|
|
||||||
/* Declared in opal_db_close.c */
|
static int opal_db_base_close(void)
|
||||||
int opal_db_base_close(void);
|
{
|
||||||
|
if (NULL != opal_db.finalize) {
|
||||||
|
opal_db.finalize();
|
||||||
|
}
|
||||||
|
|
||||||
|
return mca_base_framework_components_close(&opal_db_base_framework, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
static int opal_db_base_open(mca_base_open_flag_t flags)
|
static int opal_db_base_open(mca_base_open_flag_t flags)
|
||||||
{
|
{
|
Загрузка…
x
Ссылка в новой задаче
Block a user