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