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

dolt sql-client --no-auto-commit still commits #4635

Closed
timsehn opened this issue Oct 26, 2022 · 0 comments
Closed

dolt sql-client --no-auto-commit still commits #4635

timsehn opened this issue Oct 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working cli

Comments

@timsehn
Copy link
Sponsor Contributor

timsehn commented Oct 26, 2022

I tried migrating:

@test "sql-server: test dolt sql interface works properly with autocommit" {

to dolt sql-client. It turns out --no-auto-commit still implicitly commits.

$ dolt sql -q "drop table one_pk" 
$ dolt sql-client -u root --no-auto-commit -q "create table one_pk (c1 BIGINT)"
$ dolt ls
Tables in working set:
	 one_pk
	 t

$ 

Note, the table is still created even though no COMMIT has been issued.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

No branches or pull requests

2 participants