Skip to content

Commit

Permalink
Increase another SQL query buffer size
Browse files Browse the repository at this point in the history
The `INSERT INTO` query could be truncated when using a longer table name prefix.
  • Loading branch information
Robyt3 committed Aug 12, 2023
1 parent 26f08a1 commit defd8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/scoreworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ bool CScoreWorker::SaveTeam(IDbConnection *pSqlServer, const ISqlData *pGameData
}
if(w == Write::NORMAL_FAILED)
{
char aBuf[128] = {0};
char aBuf[256] = {0};
bool End;
// move to non-tmp table succeded. delete from backup again
str_format(aBuf, sizeof(aBuf),
Expand Down

0 comments on commit defd8f7

Please sign in to comment.