Beispiel #1
0
static void dlr_mongodb_shutdown()
{
    dbpool_destroy(pool);
    dlr_db_fields_destroy(fields);
    mongodb_database = NULL;
    mongodb_table = NULL;
    if (mongodb_namespace) {
        gw_free(mongodb_namespace);
        mongodb_namespace = NULL;
    }
}
Beispiel #2
0
static void dlr_sdb_shutdown()
{
    dbpool_destroy(pool);
    dlr_db_fields_destroy(fields);
}
Beispiel #3
0
static void dlr_shutdown_sqlite3()
{
    dbpool_destroy(pool);
    dlr_db_fields_destroy(fields);
}