Skip to content

fix: 内存泄漏,如果打开db之后连续插入数据存在内存泄漏,需要修改database.hpp的prepare和close函数: - #2

Open
webbrain-one wants to merge 1 commit into
chxuan:masterfrom
webbrain-one:webbrain/issue-1
Open

fix: 内存泄漏,如果打开db之后连续插入数据存在内存泄漏,需要修改database.hpp的prepare和close函数:#2
webbrain-one wants to merge 1 commit into
chxuan:masterfrom
webbrain-one:webbrain/issue-1

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #1

Finalize existing statements in prepare() and close() so repeated inserts do not leak prepared statement resources.
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

Successfully merging this pull request may close these issues.

内存泄漏,如果打开db之后连续插入数据存在内存泄漏,需要修改database.hpp的prepare和close函数:

1 participant