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

Unique IDs in workspaces #185

Open
piotras opened this issue Nov 29, 2012 · 0 comments · Fixed by #192
Open

Unique IDs in workspaces #185

piotras opened this issue Nov 29, 2012 · 0 comments · Fixed by #192
Assignees
Labels
Milestone

Comments

@piotras
Copy link
Member

piotras commented Nov 29, 2012

Currently, we use object's ID as additional workspace ID identifier. It should be implemented so other unique ID could be used to avoid additional select after object is created. This could help us with transaction isolation level.

Basically, we must get rid of this:

query = g_string_new ("UPDATE ");
g_string_append_printf (query, " %s SET %s=%d WHERE id=%d",
tablename, MGD_WORKSPACE_OID_FIELD, new_id, new_id);
midgard_core_query_execute(MGD_OBJECT_CNC (object), query->str, FALSE);
@ghost ghost assigned piotras Nov 29, 2012
piotras added a commit to piotras/midgard-core that referenced this issue Feb 7, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Feb 7, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Feb 7, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Feb 7, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Feb 11, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Feb 11, 2013
piotras added a commit to piotras/midgard-core that referenced this issue Apr 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant