Do you want to keep these settings?
Press ENTER before the timeout to accept the new configuration
Changes will revert in 117 seconds
Configuration accepted.
network:
version: 2
renderer: NetworkManager
ethernets:
enp3s0:
dhcp4: no
addresses: [ xxx.yyy.220.77/24 ]
routes:
- to: default
via: xxx.yyy.220.1
nameservers:
addresses: [ 8.8.4.4, 8.8.8.8 ]
enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:e0:4c:93:19:f1 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
insert into promotion_1000 (
`id`,
`datetime`,
`driver_id`,
`promo_summa`,
`is_used`
)
values (
'cb1b3b4d2a6ba63740fe975f29db70d8',
'2023-05-25 20:14:11',
'614127',
'1000',
'0'
)
ON DUPLICATE KEY UPDATE
`promo_summa` = CASE
WHEN is_used = 0
THEN '3000'
ELSE `promo_summa`
END,
`datetime` = CASE
WHEN is_used = 0
THEN NOW()
ELSE `datetime`
end
Всё заработало. Странно, что в предыдущих версиях такого не было.
Всем спасибо!