Skip to content

Commit 90f571c

Browse files
Update ODPI-C to 2.0.1.
1 parent 2f1cd73 commit 90f571c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

doc/src/subscription.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Subscription Object
2626
This read-only attribute returns the registration ID returned by the
2727
database when the subscription was created.
2828

29+
.. deprecated:: 6.0
30+
This attribute was never intended to be exposed.
31+
2932

3033
.. attribute:: Subscription.namespace
3134

src/Subscription.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef struct {
2626
uint32_t timeout;
2727
uint32_t operations;
2828
uint32_t qos;
29-
uint32_t id;
29+
uint64_t id;
3030
} udt_Subscription;
3131

3232
typedef struct {
@@ -83,7 +83,7 @@ static PyMemberDef g_SubscriptionTypeMembers[] = {
8383
{ "timeout", T_INT, offsetof(udt_Subscription, timeout), READONLY },
8484
{ "operations", T_INT, offsetof(udt_Subscription, operations), READONLY },
8585
{ "qos", T_INT, offsetof(udt_Subscription, qos), READONLY },
86-
{ "id", T_INT, offsetof(udt_Subscription, id), READONLY },
86+
{ "id", T_ULONG, offsetof(udt_Subscription, id), READONLY },
8787
{ NULL }
8888
};
8989

0 commit comments

Comments
 (0)