From cd8e30a2ec361ea770d8a765956b403e76bb30fa Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 21 Sep 2014 15:59:02 -0700 Subject: [PATCH] Bug with MySQLRequestResult --- common/mysql_request_result.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/mysql_request_result.cpp b/common/mysql_request_result.cpp index b4bf30842..e7f147b51 100644 --- a/common/mysql_request_result.cpp +++ b/common/mysql_request_result.cpp @@ -101,6 +101,7 @@ MySQLRequestResult::MySQLRequestResult(MySQLRequestResult&& moveItem) m_RowsAffected = moveItem.m_RowsAffected; m_LastInsertedID = moveItem.m_LastInsertedID; m_ColumnLengths = moveItem.m_ColumnLengths; + m_ColumnCount = moveItem.m_ColumnCount; m_Fields = moveItem.m_Fields; // Keeps deconstructor from double freeing @@ -128,6 +129,7 @@ MySQLRequestResult& MySQLRequestResult::operator=(MySQLRequestResult&& other) m_CurrentRow = other.m_CurrentRow; m_OneBeyondRow = other.m_OneBeyondRow; m_ColumnLengths = other.m_ColumnLengths; + m_ColumnCount = other.m_ColumnCount; m_Fields = other.m_Fields; // Keeps deconstructor from double freeing