Skip to content

ENQLM Being Exceeded #32

@tesneddon

Description

@tesneddon

The following was reported by Brett Cameron through personal email:

BTW, I think I found a minor issue with your SQLite3 port. In addition to git, I've also got most of Subversion sort of working, and it uses SQLite. It uses it in such a way that it does numerous connects/disconnects to/from the DB and I noticed when cloning a large repo that I was blowing enqlm. Simply removing the LCK$M_CANCEL fixed the problem. I guess this might not have been observed before since most code will just connect to the DB once and stay connected...

// sys$deq(pFile->lksb.id, 0, PSL$C_USER, LCK$M_CANCEL);
sys$deq(pFile->lksb.id, 0, PSL$C_USER, 0);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions