Searched refs:dictid (Results 1 – 3 of 3) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | replication.c | 173 void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { in replicationFeedSlaves() argument 187 if (server.slaveseldb != dictid) { in replicationFeedSlaves() 191 if (dictid >= 0 && dictid < PROTO_SHARED_SELECT_CMDS) { in replicationFeedSlaves() 192 selectcmd = shared.select[dictid]; in replicationFeedSlaves() 196 dictid_len = ll2string(llstr,sizeof(llstr),dictid); in replicationFeedSlaves() 214 if (dictid < 0 || dictid >= PROTO_SHARED_SELECT_CMDS) in replicationFeedSlaves() 217 server.slaveseldb = dictid; in replicationFeedSlaves() 268 void replicationFeedMonitors(client *c, list *monitors, int dictid, robj **argv, int argc) { in replicationFeedMonitors() argument 279 cmdrepr = sdscatprintf(cmdrepr,"[%d lua] ",dictid); in replicationFeedMonitors() 281 cmdrepr = sdscatprintf(cmdrepr,"[%d unix:%s] ",dictid,server.unixsocket); in replicationFeedMonitors() [all …]
|
| H A D | aof.c | 511 void feedAppendOnlyFile(struct redisCommand *cmd, int dictid, robj **argv, int argc) { in feedAppendOnlyFile() argument 517 if (dictid != server.aof_selected_db) { in feedAppendOnlyFile() 520 snprintf(seldb,sizeof(seldb),"%d",dictid); in feedAppendOnlyFile() 523 server.aof_selected_db = dictid; in feedAppendOnlyFile()
|
| H A D | server.h | 569 int dictid; /* ID of the currently SELECTed DB. */ member 1232 void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc); 1233 void replicationFeedMonitors(client *c, list *monitors, int dictid, robj **argv, int argc); 1265 void feedAppendOnlyFile(struct redisCommand *cmd, int dictid, robj **argv, int argc);
|