Added an unique ID field to every slow log entry.

This commit is contained in:
antirez
2011-06-30 17:36:15 +02:00
parent de32c37c06
commit 2cb6828480
3 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
typedef struct slowlogEntry {
robj **argv;
int argc;
long long id; /* Unique entry identifier. */
long long duration; /* Time spent by the query, in nanoseconds. */
time_t time; /* Unix time at which the query was executed. */
} slowlogEntry;