Commit 3727cfc
committed
Return an error on increment/decrement larger than 32-bit unsigned
While the memcached protocol allows for 64-bit increments or decrements,
the libmemcached API is limited to a 32-bit adjustment value.
Protocol: https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L274
API: http://docs.libmemcached.org/memcached_auto.html1 parent 6ee6166 commit 3727cfc
3 files changed
+20
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2185 | 2185 | | |
2186 | 2186 | | |
2187 | 2187 | | |
2188 | | - | |
| 2188 | + | |
| 2189 | + | |
2189 | 2190 | | |
2190 | 2191 | | |
2191 | 2192 | | |
| |||
2208 | 2209 | | |
2209 | 2210 | | |
2210 | 2211 | | |
2211 | | - | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
2212 | 2218 | | |
2213 | 2219 | | |
2214 | 2220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
55 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | | - | |
| 65 | + | |
58 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
0 commit comments