Skip to content

Commit 51f5796

Browse files
DBSIZE is a long response, not bool
1 parent 4898642 commit 51f5796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ PHP_METHOD(RedisCluster, flushall) {
26092609
* proto RedisCluster::dbsize(string host, long port) */
26102610
PHP_METHOD(RedisCluster, dbsize) {
26112611
cluster_empty_node_cmd(INTERNAL_FUNCTION_PARAM_PASSTHRU, "DBSIZE",
2612-
TYPE_LINE, cluster_bool_resp);
2612+
TYPE_INT, cluster_long_resp);
26132613
}
26142614
/* }}} */
26152615

0 commit comments

Comments
 (0)