Closed patcpsc closed 10 years ago
Second try - sorry after I fixed this, I found an unrelated bug, and closed it. But I'm pretty sure this patch is right.
This is a change for redisInfo to work on windows; on windows it's possible (likely) that the configuration file part of the info looks like this:
config_file:C:\Redis/redis.windows.conf\r\n
when this happens, strsplit splits this into 3 and ultimately leads to an error like:
Error in names(z) <- w[o] : 'names' attribute [70] must be the same length as the vector [69]
Second try - sorry after I fixed this, I found an unrelated bug, and closed it. But I'm pretty sure this patch is right.
This is a change for redisInfo to work on windows; on windows it's possible (likely) that the configuration file part of the info looks like this:
config_file:C:\Redis/redis.windows.conf\r\n
when this happens, strsplit splits this into 3 and ultimately leads to an error like:
Error in names(z) <- w[o] : 'names' attribute [70] must be the same length as the vector [69]