File: 0002-lpos-command.patch

package info (click to toggle)
lua-redis 2.0.5~git20141117.880dda9-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 384 kB
  • sloc: makefile: 2
file content (20 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Mon, 9 Jan 2023 11:58:45 +0100
Subject: lpos command

---
 src/redis.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/redis.lua b/src/redis.lua
index f3537fa..1cf0413 100644
--- a/src/redis.lua
+++ b/src/redis.lua
@@ -1011,6 +1011,7 @@ redis.commands = {
     lpushx           = command('LPUSHX'),       -- >= 2.2
     linsert          = command('LINSERT'),      -- >= 2.2
     brpoplpush       = command('BRPOPLPUSH'),   -- >= 2.2
+    lpos             = command('LPOS'),         -- >= 6.0.6
 
     -- commands operating on sets
     sadd             = command('SADD'),