You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/01/31 02:08:04 UTC
[rocketmq-client-cpp] branch master updated: [ISSUE #86] fixed
GetMessageStoreTimestamp not return StoreTimestamp
This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new fed75d8 [ISSUE #86] fixed GetMessageStoreTimestamp not return StoreTimestamp
fed75d8 is described below
commit fed75d8a81d9cfa82458b24ee7747329176e22fc
Author: James <yw...@hotmail.com>
AuthorDate: Thu Jan 31 10:08:00 2019 +0800
[ISSUE #86] fixed GetMessageStoreTimestamp not return StoreTimestamp
[ISSUE #86] fixed GetMessageStoreTimestamp not return StoreTimestamp
---
src/extern/CMessageExt.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/extern/CMessageExt.cpp b/src/extern/CMessageExt.cpp
index e854ce4..5d612d8 100644
--- a/src/extern/CMessageExt.cpp
+++ b/src/extern/CMessageExt.cpp
@@ -99,7 +99,7 @@ long long GetMessageStoreTimestamp(CMessageExt *msg){
if (msg == NULL) {
return NULL_POINTER;
}
- return ((MQMessageExt *) msg)->getBornTimestamp();
+ return ((MQMessageExt *) msg)->getStoreTimestamp();
}
long long GetMessageQueueOffset(CMessageExt *msg){