Skip to content

Commit

Permalink
Revert some formatting changes
Browse files Browse the repository at this point in the history
Signed-off-by: Madelyn Olson <[email protected]>
  • Loading branch information
madolson authored Jun 30, 2024
1 parent ce76a16 commit 11400e2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,14 +468,16 @@ dictType zsetDictType = {
};

/* Db->dict, keys are sds strings, vals are Objects. */
dictType dbDictType = {dictSdsHash, /* hash function */
NULL, /* key dup */
dictSdsKeyCompare, /* key compare */
NULL, /* key is embedded in the dictEntry and freed internally */
dictObjectDestructor, /* val destructor */
dictResizeAllowed, /* allow to resize */
.embedKey = dictSdsEmbedKey,
.embedded_entry = 1};
dictType dbDictType = {
dictSdsHash, /* hash function */
NULL, /* key dup */
dictSdsKeyCompare, /* key compare */
NULL, /* key is embedded in the dictEntry and freed internally */
dictObjectDestructor, /* val destructor */
dictResizeAllowed, /* allow to resize */
.embedKey = dictSdsEmbedKey,
.embedded_entry = 1,
};

/* Db->expires */
dictType dbExpiresDictType = {
Expand Down

0 comments on commit 11400e2

Please sign in to comment.