X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=txn%2Ftxn.c;fp=txn%2Ftxn.c;h=a6366b34a1d3f12b1596a98d0591db5883385917;hp=e05d332386fe8284727fc0ced57c107d26a59cf2;hb=9d72edf41ce3a2ddbbe2d44afc23ef5ec53339c3;hpb=d26bac75802a324ed98c8d3d88cfb9eb87b3b35a diff --git a/txn/txn.c b/txn/txn.c index e05d332..a6366b3 100644 --- a/txn/txn.c +++ b/txn/txn.c @@ -45,7 +45,7 @@ static txn_state_e txn_validate (txn_t *txn); static map_t *active_ = NULL; void txn_init (void) { - active_ = map_alloc(MAP_TYPE_SKIPLIST, NULL); + active_ = map_alloc(&sl_map_impl, NULL); } // Validate the updates for . Validation fails for a key we have written to if there is a