Searched refs:cmdrepr (Results 1 – 3 of 3) sorted by relevance
/dports/databases/redis5/redis-5.0.14/src/ |
H A D | replication.c | 308 sds cmdrepr = sdsnew("+"); in replicationFeedMonitors() local 313 cmdrepr = sdscatprintf(cmdrepr,"%ld.%06ld ",(long)tv.tv_sec,(long)tv.tv_usec); in replicationFeedMonitors() 315 cmdrepr = sdscatprintf(cmdrepr,"[%d lua] ",dictid); in replicationFeedMonitors() 317 cmdrepr = sdscatprintf(cmdrepr,"[%d unix:%s] ",dictid,server.unixsocket); in replicationFeedMonitors() 319 cmdrepr = sdscatprintf(cmdrepr,"[%d %s] ",dictid,getClientPeerId(c)); in replicationFeedMonitors() 324 cmdrepr = sdscatprintf(cmdrepr, "\"%ld\"", (long)argv[j]->ptr); in replicationFeedMonitors() 326 cmdrepr = sdscatrepr(cmdrepr,(char*)argv[j]->ptr, in replicationFeedMonitors() 330 cmdrepr = sdscatlen(cmdrepr," ",1); in replicationFeedMonitors() 332 cmdrepr = sdscatlen(cmdrepr,"\r\n",2); in replicationFeedMonitors() 333 cmdobj = createObject(OBJ_STRING,cmdrepr); in replicationFeedMonitors()
|
/dports/databases/redis6/redis-6.0.16/src/ |
H A D | replication.c | 376 sds cmdrepr = sdsnew("+"); in replicationFeedMonitors() local 381 cmdrepr = sdscatprintf(cmdrepr,"%ld.%06ld ",(long)tv.tv_sec,(long)tv.tv_usec); in replicationFeedMonitors() 383 cmdrepr = sdscatprintf(cmdrepr,"[%d lua] ",dictid); in replicationFeedMonitors() 385 cmdrepr = sdscatprintf(cmdrepr,"[%d unix:%s] ",dictid,server.unixsocket); in replicationFeedMonitors() 387 cmdrepr = sdscatprintf(cmdrepr,"[%d %s] ",dictid,getClientPeerId(c)); in replicationFeedMonitors() 392 cmdrepr = sdscatprintf(cmdrepr, "\"%ld\"", (long)argv[j]->ptr); in replicationFeedMonitors() 394 cmdrepr = sdscatrepr(cmdrepr,(char*)argv[j]->ptr, in replicationFeedMonitors() 398 cmdrepr = sdscatlen(cmdrepr," ",1); in replicationFeedMonitors() 400 cmdrepr = sdscatlen(cmdrepr,"\r\n",2); in replicationFeedMonitors() 401 cmdobj = createObject(OBJ_STRING,cmdrepr); in replicationFeedMonitors()
|
/dports/databases/redis-devel/redis-0e5b813/src/ |
H A D | replication.c | 543 sds cmdrepr = sdsnew("+"); in replicationFeedMonitors() local 548 cmdrepr = sdscatprintf(cmdrepr,"%ld.%06ld ",(long)tv.tv_sec,(long)tv.tv_usec); in replicationFeedMonitors() 550 cmdrepr = sdscatprintf(cmdrepr,"[%d lua] ",dictid); in replicationFeedMonitors() 552 cmdrepr = sdscatprintf(cmdrepr,"[%d unix:%s] ",dictid,server.unixsocket); in replicationFeedMonitors() 554 cmdrepr = sdscatprintf(cmdrepr,"[%d %s] ",dictid,getClientPeerId(c)); in replicationFeedMonitors() 559 cmdrepr = sdscatprintf(cmdrepr, "\"%ld\"", (long)argv[j]->ptr); in replicationFeedMonitors() 561 cmdrepr = sdscatrepr(cmdrepr,(char*)argv[j]->ptr, in replicationFeedMonitors() 565 cmdrepr = sdscatlen(cmdrepr," ",1); in replicationFeedMonitors() 567 cmdrepr = sdscatlen(cmdrepr,"\r\n",2); in replicationFeedMonitors() 568 cmdobj = createObject(OBJ_STRING,cmdrepr); in replicationFeedMonitors()
|