git-hulk commented on code in PR #1681:
URL: https://github.com/apache/kvrocks/pull/1681#discussion_r1298555845


##########
src/types/redis_list.cc:
##########
@@ -392,6 +392,67 @@ rocksdb::Status List::Range(const Slice &user_key, int 
start, int stop, std::vec
   return rocksdb::Status::OK();
 }
 
+rocksdb::Status List::Pos(const Slice &user_key, const Slice &elem, const 
PosSpec &spec,
+                          std::vector<int64_t> *indexes) {
+  assert(spec.rank != 0);

Review Comment:
   Yes, can remove this line.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to