if readonly, then do not amend key either
move ARRAY_SIZE into bpf-sql.h