diff options
author | ildar-khisam <ikhis@ydb.tech> | 2022-12-30 15:15:33 +0300 |
---|---|---|
committer | ildar-khisam <ikhis@ydb.tech> | 2022-12-30 15:15:33 +0300 |
commit | 29e530ba3e0b2c7b69b1d927044748d181c5a513 (patch) | |
tree | b8b0e2672abf914f20bd30826e15bca9c737ca92 | |
parent | d4aa0c2dd40912cb9911ae5386699edf6068dfb5 (diff) | |
download | ydb-29e530ba3e0b2c7b69b1d927044748d181c5a513.tar.gz |
parse seqno with stoull
stoull
-rw-r--r-- | ydb/services/datastreams/datastreams_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/services/datastreams/datastreams_proxy.cpp b/ydb/services/datastreams/datastreams_proxy.cpp index 1a3287b96f7..adb1da70065 100644 --- a/ydb/services/datastreams/datastreams_proxy.cpp +++ b/ydb/services/datastreams/datastreams_proxy.cpp @@ -1275,7 +1275,7 @@ namespace NKikimr::NDataStreams::V1 { std::optional<ui64> TGetShardIteratorActor::SequenceNumberToInt(const TString& sequenceNumberStr) { try { - return std::stoll(sequenceNumberStr.c_str()); + return std::stoull(sequenceNumberStr.c_str()); } catch(...) { return std::nullopt; } |