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

catalog not transactional, at least for operators #34

Open
duncand opened this issue Jul 5, 2017 · 0 comments
Open

catalog not transactional, at least for operators #34

duncand opened this issue Jul 5, 2017 · 0 comments

Comments

@duncand
Copy link
Contributor

duncand commented Jul 5, 2017

The Dataphor catalog does not seem to be transactional, that is, "create operator" statement is not subject to an explicit transaction.

BeginTransaction();

create operator Foo() : Integer
begin
    result := 42;
end;

select Foo();

RollbackTransaction();

Running that once succeeds and outputs 42. Running it a second time dies citing that Foo() already exists. This means that the creation of operator Foo() was not undone by the transaction rollback as it should have been.

That behaviour is the same for both "session" and non-"session" creates.

Data definition should be subject to transactions.

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

No branches or pull requests

1 participant