mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Increase another SQL query buffer size
The `INSERT INTO` query could be truncated when using a longer table name prefix.
This commit is contained in:
parent
26f08a1903
commit
defd8f7c96
|
@ -1516,7 +1516,7 @@ bool CScoreWorker::SaveTeam(IDbConnection *pSqlServer, const ISqlData *pGameData
|
||||||
}
|
}
|
||||||
if(w == Write::NORMAL_FAILED)
|
if(w == Write::NORMAL_FAILED)
|
||||||
{
|
{
|
||||||
char aBuf[128] = {0};
|
char aBuf[256] = {0};
|
||||||
bool End;
|
bool End;
|
||||||
// move to non-tmp table succeded. delete from backup again
|
// move to non-tmp table succeded. delete from backup again
|
||||||
str_format(aBuf, sizeof(aBuf),
|
str_format(aBuf, sizeof(aBuf),
|
||||||
|
|
Loading…
Reference in a new issue