- Small change for mysql performance
This commit is contained in:
Dawid Bepierszcz
2024-03-27 23:19:24 +01:00
parent bfb7defcaa
commit 0af9177f07
5 changed files with 10 additions and 5 deletions

View File

@@ -233,6 +233,7 @@ namespace WeaponPaints
string query;
object parameters;
if (existingRecordCount > 0)
{
query = "UPDATE `wp_player_skins` SET `weapon_paint_id` = @paintId, `weapon_wear` = @wear, `weapon_seed` = @seed WHERE `steamid` = @steamid AND `weapon_defindex` = @weaponDefIndex";