diff options
author | swamp0407 <swamp0407@gmail.com> | 2020-11-17 19:03:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 12:03:05 +0200 |
commit | ea7cf737a1ff65524994ce6731eb9320891aa946 (patch) | |
tree | f6e491ee1f41765e916597c1d7719717da20353e /src/stream.h | |
parent | 9812e88959a37ed4aa95bb4d3fb55c56dc49a768 (diff) | |
download | redis-ea7cf737a1ff65524994ce6731eb9320891aa946.tar.gz |
Add COPY command (#7953)
Syntax:
COPY <key> <new-key> [DB <dest-db>] [REPLACE]
No support for module keys yet.
Co-authored-by: tmgauss
Co-authored-by: Itamar Haber <itamar@redislabs.com>
Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h index 3d692cd9d..7e1a24417 100644 --- a/src/stream.h +++ b/src/stream.h @@ -118,5 +118,6 @@ int streamCompareID(streamID *a, streamID *b); void streamFreeNACK(streamNACK *na); void streamIncrID(streamID *id); void streamPropagateConsumerCreation(client *c, robj *key, robj *groupname, sds consumername); +robj *streamDup(robj *o); #endif |