Skip to content

Fix missing name-atom argument in ur.core.data:kv-all-ks/1 #45

@oubiwann

Description

@oubiwann

Problem

The kv-all-ks/1 function in ur.core.data does not pass its name-atom parameter to ets:select, causing the function to fail.

Current Code

(defun kv-all-ks (name-atom)
  (lists:uniq
   (ets:select  (ets-ms (((tuple k v))
                         k)))))

Fixed Code

(defun kv-all-ks (name-atom)
  (lists:uniq
   (ets:select name-atom (ets-ms (((tuple k v))
                                   k)))))

File

src/ur/core/data.lfe

Priority

P0 - This is a bug that will cause runtime errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions