Skip to content

Commit

Permalink
fix: reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Oct 12, 2024
1 parent cc0ff6d commit 8970dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ std::string Database::escapeBlob(const char* s, uint32_t length) const {
}

DBResult::DBResult(mysqlx::SqlResult &&result, std::string_view query, mysqlx::Session &session) :
m_result(std::move(result)), m_hasMoreRows(result.hasData()), m_query(query), m_session(session) {
m_session(session), m_query(query), m_result(std::move(result)), m_hasMoreRows(result.hasData()) {
// Fetch the first row to start processing
if (m_hasMoreRows) {
m_resultCount = m_result.count();
Expand Down

0 comments on commit 8970dae

Please sign in to comment.