Skip to content

Commit 3287d5c

Browse files
committed
CDRIVER-834 deprecate mongoc_client_kill_cursor
1 parent efb3060 commit 3287d5c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

NEWS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
mongo-c-driver 1.2.0-rc0
2+
========================
3+
4+
Changes:
5+
6+
* mongoc_client_kill_cursor is now deprecated and will be removed in
7+
version 2.0.
8+
19
mongo-c-driver 1.2.0-beta1
210
==========================
311

src/mongoc/mongoc-client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ mongoc_cursor_t *mongoc_client_command (mongoc_client
109109
const bson_t *fields,
110110
const mongoc_read_prefs_t *read_prefs);
111111
void mongoc_client_kill_cursor (mongoc_client_t *client,
112-
int64_t cursor_id);
112+
int64_t cursor_id) BSON_GNUC_DEPRECATED;
113113
bool mongoc_client_command_simple (mongoc_client_t *client,
114114
const char *db_name,
115115
const bson_t *command,

0 commit comments

Comments
 (0)