mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Improve default compatibilty for ClientPrefs with MySQL
Some checks failed
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang, clang++, ubuntu-latest, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang-14, clang++-14, ubuntu-22.04, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (msvc, windows-latest, win) (push) Has been cancelled
hl2sdk-mock tests / mock (push) Has been cancelled
Some checks failed
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang, clang++, ubuntu-latest, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (clang-14, clang++-14, ubuntu-22.04, linux) (push) Has been cancelled
Continuous Integration / ${{ matrix.os_short }}-${{ matrix.compiler_cc }} (msvc, windows-latest, win) (push) Has been cancelled
hl2sdk-mock tests / mock (push) Has been cancelled
This commit is contained in:
parent
6d13a70b99
commit
7e784d5453
@ -162,7 +162,7 @@ bool TQueryOp::BindParamsAndRun()
|
||||
g_pSM->Format(query,
|
||||
sizeof(query),
|
||||
"INSERT IGNORE INTO sm_cookies (name, description, access) \
|
||||
VALUES (\"%s\", \"%s\", %d)",
|
||||
VALUES ('%s', '%s', %d)",
|
||||
safe_name,
|
||||
safe_desc,
|
||||
m_params.cookie->access);
|
||||
@ -239,9 +239,9 @@ bool TQueryOp::BindParamsAndRun()
|
||||
g_pSM->Format(query,
|
||||
sizeof(query),
|
||||
"INSERT INTO sm_cookie_cache (player, cookie_id, value, timestamp) \
|
||||
VALUES (\"%s\", %d, \"%s\", %d) \
|
||||
VALUES ('%s', %d, '%s', %d) \
|
||||
ON DUPLICATE KEY UPDATE \
|
||||
value = \"%s\", timestamp = %d",
|
||||
value = '%s', timestamp = %d",
|
||||
safe_id,
|
||||
m_params.cookieId,
|
||||
safe_val,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user