Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate delete from delete_counter #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidw
Copy link
Contributor

@davidw davidw commented Dec 1, 2014

Using delete for two different things - deleting records and deleting
keys from the counter table - was causing problems like:

#135

This commit introduces a delete_counter that only deletes keys from
the counter. The delete function only deletes records.

Fixes #135

Using delete for two different things - deleting records and deleting
keys from the counter table - was causing problems like:

ErlyORM#135

This commit introduces a delete_counter that only deletes keys from
the counter.  The delete function only deletes records.
@danikp
Copy link
Member

danikp commented Dec 23, 2014

As part of commit you updated pgsql adapter. But other connectors are not updated yet and I will postpone merge of your PR till we prepare changes in other connectors too.

@davidw
Copy link
Contributor Author

davidw commented Dec 23, 2014

I think we should figure out the general direction first. I'm also not 100% convinced of this code; the counters are kind of strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

postgres: boss_db:delete() in transaction always rollbacks transaction if no 'counters' table exists in the db
2 participants