Lines Matching refs:id
289 int selectDb(client *c, int id) { in selectDb() argument
290 if (id < 0 || id >= server.dbnum) in selectDb()
292 c->db = &server.db[id]; in selectDb()
319 signalFlushedDb(c->db->id); in flushdbCommand()
352 "del",c->argv[j],c->db->id); in delCommand()
374 long id; in selectCommand() local
376 if (getLongFromObjectOrReply(c, c->argv[1], &id, in selectCommand()
380 if (server.cluster_enabled && id != 0) { in selectCommand()
384 if (selectDb(c,id) == C_ERR) { in selectCommand()
766 c->argv[1],c->db->id); in renameGenericCommand()
768 c->argv[2],c->db->id); in renameGenericCommand()
794 srcid = c->db->id; in moveCommand()
889 feedAppendOnlyFile(server.delCommand,db->id,argv,2); in propagateExpire()
890 replicationFeedSlaves(server.slaves,db->id,argv,2); in propagateExpire()
928 "expired",key,db->id); in expireIfNeeded()
976 notifyKeyspaceEvent(NOTIFY_GENERIC,"del",key,c->db->id); in expireGenericCommand()
983 notifyKeyspaceEvent(NOTIFY_GENERIC,"expire",key,c->db->id); in expireGenericCommand()