Subject: | c_del() fails with "Operation not permitted" |
Hi,
I am using a cursor to iterate through a DB4 database. The c_get method is working fine. However, if I go to delete the current key with c_del, I get the following error:
Operation not permitted
However, I can use $db->db_del($key) to successfully remove the record. I am using an environment with the following flags (DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL). I have permissions to modify the file. Is there anything else I'm overlooking which is preventing me from deleting via the cursor?
Thanks,
William