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

goInception不支持commit #146

Closed
heistt opened this issue Dec 31, 2019 · 7 comments
Closed

goInception不支持commit #146

heistt opened this issue Dec 31, 2019 · 7 comments

Comments

@heistt
Copy link

heistt commented Dec 31, 2019

应用版本:
goinceotion-1.1.4

goinception不支持commit语句,显示为error
image

切换为inception后,则变为warning
image

@hanchuanchuan
Copy link
Owner

都不支持的,这个语法不允许。
goinception最新版本已支持事务功能,具体看release和文档。

@heistt
Copy link
Author

heistt commented Dec 31, 2019

都不支持的,这个语法不允许。
goinception最新版本已支持事务功能,具体看release和文档。

你好,刚才测试了一下,如果mysql实例autocommit=0,是否启动trans选项,DML执行后都不会提交

@hanchuanchuan
Copy link
Owner

感谢反馈,在实例关闭autocommit时,确实不会提交,该问题稍后修复。
经测试在启用trans时,会进行提交。(未提交的可能是版本较低,尚未包含事务功能)

@hanchuanchuan
Copy link
Owner

问题已修复,可点击下载。 v1.1.5-39 下载

@heistt
Copy link
Author

heistt commented Jan 2, 2020

问题已修复,可点击下载。 v1.1.5-39 下载

效率很高,非常感谢!

@zwunix
Copy link

zwunix commented Jan 9, 2020

为什么下载了v1.1.6-13,还是不支持commit:
commit | 0 | error | Not supported statement type.

@hanchuanchuan
Copy link
Owner

都不支持,这个语法不允许。
事务功能是另一回事,详细使用看文档。

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

3 participants