Matt Stancliff 0c611363e5 Improve RDB type correctness
It's possible large objects could be larger than 'int', so let's
upgrade all size counters to ssize_t.

This also fixes rdbSaveObject serialized bytes calculation.
Since entire serializations of data structures can be large,
so we don't want to limit their calculated size to a 32 bit signed max.

This commit increases object size calculation and
cascades the change back up to serializedlength printing.

Before:
127.0.0.1:6379> debug object hihihi
... encoding:quicklist serializedlength:-2147483559 ...

After:
127.0.0.1:6379> debug object hihihi
... encoding:quicklist serializedlength:2147483737 ...
2015-01-19 14:10:12 -05:00
..
2012-04-13 17:52:33 -07:00
2014-09-29 06:49:07 -04:00
2014-08-08 10:43:54 +02:00
2015-01-02 11:16:08 -05:00
2013-01-19 10:59:44 +01:00
2014-12-12 12:02:39 +09:00
2015-01-19 14:10:12 -05:00
2014-09-29 06:49:08 -04:00
2014-12-14 12:25:42 +02:00
2015-01-09 11:53:51 +01:00
2014-07-02 17:04:14 +02:00
2014-08-08 14:54:02 +02:00
2014-12-23 09:31:02 -05:00
2015-01-02 11:16:08 -05:00
2014-08-08 10:05:32 +02:00
2015-01-19 14:10:12 -05:00
2015-01-19 14:10:12 -05:00
2014-08-08 14:54:02 +02:00
2014-12-23 09:31:03 -05:00
2015-01-02 11:16:08 -05:00
2014-07-02 16:31:22 +02:00
2014-12-21 16:13:45 +02:00
2014-12-23 09:31:03 -05:00
2011-07-06 15:22:00 +02:00
2015-01-02 11:16:08 -05:00
2015-01-02 11:16:08 -05:00