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

Commits on Jan 24, 2020

  1. mxq_daemon: Don't use NULL for CURRENT_TIMESTAMP()

    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.
    donald committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    87f24ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a78fc4 View commit details
    Browse the repository at this point in the history