Skip to content

Commit

Permalink
update code format
Browse files Browse the repository at this point in the history
Signed-off-by: Shivshankar-Reddy <[email protected]>
  • Loading branch information
Shivshankar-Reddy committed May 31, 2024
1 parent d6e1998 commit da5ab34
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3020,11 +3020,9 @@ int rdbLoadRioWithLoadingCtx(rio *rdb, int rdbflags, rdbSaveInfo *rsi, rdbLoadin
if ((dbid = rdbLoadLen(rdb, NULL)) == RDB_LENERR) goto eoferr;
if (dbid >= (unsigned)server.dbnum) {
serverLog(LL_WARNING,
"FATAL: Data file was created with a %s "
"server configured to handle more than %d "
"databases. Exiting\n",
server.extended_redis_compat ? "Redis" : "Valkey",
server.dbnum);
"FATAL: Data file was created with a %s server configured to "
"handle more than %d databases. Exiting\n",
server.extended_redis_compat ? "Redis" : "Valkey", server.dbnum);
exit(1);
}
db = rdb_loading_ctx->dbarray + dbid;
Expand Down

0 comments on commit da5ab34

Please sign in to comment.