| 130 | } |
| 131 | |
| 132 | int rdbSaveMillisecondTime(rio *rdb, long long t) { |
| 133 | int64_t t64 = (int64_t) t; |
| 134 | memrev64ifbe(&t64); /* Store in little endian. */ |
| 135 | return rdbWriteRaw(rdb,&t64,8); |
| 136 | } |
| 137 | |
| 138 | /* This function loads a time from the RDB file. It gets the version of the |
| 139 | * RDB because, unfortunately, before Redis 5 (RDB version 9), the function |
no test coverage detected