Skip to content

Commit 9a4f6cb

Browse files
authored
Merge pull request #359 from avm/remove-libmongo-client-usage
Remove libmongo-client related code.
2 parents a9e54ea + 32a39f5 commit 9a4f6cb

File tree

17 files changed

+2
-2396
lines changed

17 files changed

+2
-2396
lines changed

bin/ej-jobs.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,12 +2026,4 @@ job_server_force_link[] =
20262026
ej_bson_parse_string_new,
20272027
};
20282028

2029-
#elif HAVE_LIBMONGO_CLIENT - 0 == 1
2030-
2031-
void *
2032-
job_server_force_link[] =
2033-
{
2034-
ej_bson_parse_string,
2035-
};
2036-
20372029
#endif

include/ejudge/bson_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
struct _bson;
2727
struct _bson_cursor;
2828

29-
// for libmogoc
29+
// for libmongoc
3030
struct _bson_t;
3131
// FIXME: no opaque structure tag for bson_iter_t
3232

include/ejudge/common_mongo_plugin.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ struct _bson_t;
3030

3131
typedef struct _mongoc_client_t ej_mongo_conn_t;
3232
typedef struct _bson_t ej_bson_t;
33-
#elif HAVE_LIBMONGO_CLIENT - 0 == 1
34-
struct _mongo_sync_connection;
35-
struct _bson;
36-
37-
typedef struct _mongo_sync_connection ej_mongo_conn_t;
38-
typedef struct _bson ej_bson_t;
3933
#else
4034
struct mongo_connection_missing;
4135
struct bson_definition_missing;

0 commit comments

Comments
 (0)