-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi ,
Am writing a C -application which used to write data to redis.So basically the command is hmset input_list:0 msg "mess
agetest 1"
So the way am approaching is
sprintf(msg,"test message from redis 1"
sprintf(cmd,"hmset input_list:0 msg %s",msg);
Batch_write(batch, cmd, strlen(cmd), 1);
Here the error comes as wrong number of argumnets in hmset and as I check it through monitor the error is due to the fact that the command is fired to redis as "hmset input_list:0 test message from redis i.e after space it takes it as parameter not as single string.
Can u please help me in this.
Metadata
Metadata
Assignees
Labels
No labels