Skip to content

Fix logging getJPX statistics#497

Merged
dgarciabriseno merged 3 commits into
Helioviewer-Project:mainfrom
dgarciabriseno:jpx-statistics
Jun 24, 2026
Merged

Fix logging getJPX statistics#497
dgarciabriseno merged 3 commits into
Helioviewer-Project:mainfrom
dgarciabriseno:jpx-statistics

Conversation

@dgarciabriseno

Copy link
Copy Markdown
Contributor

Issue is caused by strict mode enabled in MySQL.
Setting timestamp = NULL caused an error, instead of just using the default CURRENT_TIMESTAMP.
By leaving out timestamp and id altogether, the query succeeds.

Comment thread src/Database/Statistics.php Outdated
Comment thread src/Database/Statistics.php
@dgarciabriseno dgarciabriseno merged commit f2cf244 into Helioviewer-Project:main Jun 24, 2026
18 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants