Searched refs:nx (Results 1 – 5 of 5) sorted by relevance
303 void msetGenericCommand(client *c, int nx) { in msetGenericCommand() argument312 if (nx) { in msetGenericCommand()330 addReply(c, nx ? shared.cone : shared.ok); in msetGenericCommand()
731 void renameGenericCommand(client *c, int nx) { in renameGenericCommand() argument744 addReply(c,nx ? shared.czero : shared.ok); in renameGenericCommand()751 if (nx) { in renameGenericCommand()770 addReply(c,nx ? shared.cone : shared.ok); in renameGenericCommand()
1243 int nx = (flags & ZADD_NX) != 0; in zaddGenericCommand() local1257 if (nx && xx) { in zaddGenericCommand()1306 if (nx) continue; in zaddGenericCommand()1344 if (nx) continue; in zaddGenericCommand()
384 set v1 [r set foo 1 nx]385 set v2 [r set foo 2 nx]
83 catch {r zadd ztmp xx nx 10 x} err89 r zadd ztmp nx 10 x 20 y 30 z96 assert {[r zadd ztmp nx 11 x 21 y 100 a 200 b] == 2}