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;
    }
}
Exemple #2
0
static void dlr_sdb_shutdown()
{
    dbpool_destroy(pool);
    dlr_db_fields_destroy(fields);
}
Exemple #3
0
static void dlr_shutdown_sqlite3()
{
    dbpool_destroy(pool);
    dlr_db_fields_destroy(fields);
}