Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sidaxx committed Jan 13, 2024
1 parent 67630ec commit 0514e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/shared/Database/QueryResult.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ m_length(NULL)
m_isNull = new sql_bool[m_fieldCount];
m_length = new unsigned long[m_fieldCount];

memset(m_isNull, 0, sizeof(bool) * m_fieldCount);
memset(m_isNull, 0, sizeof(m_isNull[0]) * m_fieldCount);
memset(m_rBind, 0, sizeof(MYSQL_BIND) * m_fieldCount);
memset(m_length, 0, sizeof(unsigned long) * m_fieldCount);

Expand Down

0 comments on commit 0514e38

Please sign in to comment.