Skip to content

Commit 1ede083

Browse files
committed
Close statement before handle
1 parent 94b24f6 commit 1ede083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/WCDB/core/statement_recyclable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ bool RecyclableStatement::operator==(const std::nullptr_t &) const
5151

5252
RecyclableStatement &RecyclableStatement::operator=(const std::nullptr_t &)
5353
{
54-
m_handle = nullptr;
5554
m_statementHandle = nullptr;
55+
m_handle = nullptr;
5656
return *this;
5757
}
5858

0 commit comments

Comments
 (0)