zhuxiujia / GoMybatis

Go ORM Library.Have Powerful Features like transaction nesting, Optimistic Lock,Logical deletion and more. like mybatis for go golang
https://zhuxiujia.github.io/gomybatis.io/#/
Apache License 2.0
430 stars 96 forks source link

在使用过程中发现max_prepared_stmt_count 问题 #48

Closed fghosth closed 4 years ago

fghosth commented 4 years ago

mysql Com_stmt_prepare值一直增加,没有close。导致max_prepared_stmt_count 超出问题。 能否修复一下这个问题,或者给我权限,我提交下修改过的代码。

zhuxiujia commented 4 years ago

mysql Com_stmt_prepare值一直增加,没有close。导致max_prepared_stmt_count 超出问题。 能否修复一下这个问题,或者给我权限,我提交下修改过的代码。

恩,提交,记得跑一遍 go test 保障代码测试正常。 可以fork一份修改好,然后github请求合并

zhuxiujia commented 4 years ago

已经运行过go test . 我新建了一个hotfix/max_prepared_stmt 分支,但是没有权限提交。用户名fghosth@163.com

git 提交到你自己的fghosth/GoMybatis 这个库master分支里,然后百度一下 github pull requests怎么用。

fghosth commented 4 years ago

我发起了一个 pull request。check 失败了。

The build phase is set to "MSBuild" mode (default), but no Visual Studio project or solution files were found in the root directory. If you are not building Visual Studio project switch build mode to "Script" and provide your custom build command.

我需要怎么做?

zhuxiujia commented 4 years ago

我发起了一个 pull request。check 失败了。

The build phase is set to "MSBuild" mode (default), but no Visual Studio project or solution files were found in the root directory. If you are not building Visual Studio project switch build mode to "Script" and provide your custom build command.

我需要怎么做?

这个后面在看看 咋解决吧,go test 跑通了,我这边已合并