You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[W] mysql INSERT INTO channel (id,platform,flag,assignee,name,activity) VALUES ('#######', 'onebot', 0, '', '', '{"19027":null}')
ON DUPLICATE KEY UPDATE activity = if(id = '#######' AND platform = 'onebot', json_set(ifnull(activity, '{}'), '$."19027"', (json_unquote(json_extract(activity, '$."19027"')) + 13)), VALUES(activity))
/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:242
const error = new Error()
^
ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: 'null':
at MysqlDatabase.query (/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:242:19)
at MysqlDatabase.upsert (/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:418:16)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _StatisticsProvider._uploadGuilds (/root/koishi/node_modules/@koishijs/plugin-status/src/stats.ts:190:5)
at async Promise.all (index 3)
at _StatisticsProvider.upload (/root/koishi/node_modules/@koishijs/plugin-status/src/stats.ts:205:7)
Steps to reproduce
调用各种指令后不定期发生
Expected behavior
Screenshots
No response
Versions
OS: Ubuntu 21.04 LTS
Platform: onebot 及 onebot qqguild
Node version: 16.13.2
Koishi version: 4.1.2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
[W] mysql INSERT INTO
channel
(id
,platform
,flag
,assignee
,name
,activity
) VALUES ('#######', 'onebot', 0, '', '', '{"19027":null}')ON DUPLICATE KEY UPDATE
activity
= if(id
= '#######' ANDplatform
= 'onebot', json_set(ifnull(activity
, '{}'), '$."19027"', (json_unquote(json_extract(activity
, '$."19027"')) + 13)), VALUES(activity
))/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:242
const error = new Error()
^
ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: 'null':
at MysqlDatabase.query (/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:242:19)
at MysqlDatabase.upsert (/root/koishi/node_modules/@koishijs/plugin-database-mysql/src/index.ts:418:16)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _StatisticsProvider._uploadGuilds (/root/koishi/node_modules/@koishijs/plugin-status/src/stats.ts:190:5)
at async Promise.all (index 3)
at _StatisticsProvider.upload (/root/koishi/node_modules/@koishijs/plugin-status/src/stats.ts:205:7)
Steps to reproduce
调用各种指令后不定期发生
Expected behavior
Screenshots
No response
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: