Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove libmongo-client related code. #359

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions bin/ej-jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2026,12 +2026,4 @@ job_server_force_link[] =
ej_bson_parse_string_new,
};

#elif HAVE_LIBMONGO_CLIENT - 0 == 1

void *
job_server_force_link[] =
{
ej_bson_parse_string,
};

#endif
2 changes: 1 addition & 1 deletion include/ejudge/bson_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
struct _bson;
struct _bson_cursor;

// for libmogoc
// for libmongoc
struct _bson_t;
// FIXME: no opaque structure tag for bson_iter_t

Expand Down
6 changes: 0 additions & 6 deletions include/ejudge/common_mongo_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ struct _bson_t;

typedef struct _mongoc_client_t ej_mongo_conn_t;
typedef struct _bson_t ej_bson_t;
#elif HAVE_LIBMONGO_CLIENT - 0 == 1
struct _mongo_sync_connection;
struct _bson;

typedef struct _mongo_sync_connection ej_mongo_conn_t;
typedef struct _bson ej_bson_t;
#else
struct mongo_connection_missing;
struct bson_definition_missing;
Expand Down
Loading