Ensure the erlang_merge_operator is always loaded

This commit is contained in:
Ulf Wiger
2025-06-15 20:43:33 +02:00
parent ac69c8564f
commit 0691d8b055
2 changed files with 39 additions and 2 deletions
+1 -1
View File
@@ -1496,7 +1496,7 @@ open_db_(MP, Alias, Opts, CFs0, CreateIfMissing) ->
true ->
%% Assumption: even an old rocksdb database file will have at least "default"
{ok,CFs} = rocksdb:list_column_families(MP, Opts),
CFs1 = [{CF,[]} || CF <- CFs], %% TODO: this really needs more checking
CFs1 = [{CF, cfopts()} || CF <- CFs], %% TODO: this really needs more checking
map_cfs(rocksdb_open(MP, Opts, CFs1), CFs1, Alias, Acc0)
end.