Skip to content

Minor fixes #78

Merged
merged 2 commits into from
Jan 24, 2020
Merged

Minor fixes #78

merged 2 commits into from
Jan 24, 2020

Conversation

donald
Copy link
Contributor

@donald donald commented Jan 24, 2020

Two minor fixes.

daemon_start and daemon_stop are defined as

    TIMESTAMP NOT NULL DEFAULT 0

If elder mysql versions, these fields could be set to NULL to get the
current timestamp into it. mysql 8 does not allow that and throws

    2019-10-22 10:55:50 +0200 mxqd[9827]: mxqd mx_mysql.c:413:mx__mysql_stmt_execute(): WARNING: MySQL mysql_stmt_execute(): ERROR 1048 (23000): Column 'daemon_start' cannot be null

So use CURRENT_TIMESTAMP explicitly.
@pmenzel pmenzel merged commit fad0a72 into master Jan 24, 2020
@donald donald deleted the minor-fixes branch October 28, 2022 14:22
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants