Skip to content

2 little mariadb-pgsql issues #9

@ThorbenLaprell

Description

@ThorbenLaprell

The quiz_assign query_helper uses in the query_quiz function the COALESCE function to handle divisions with 0.
This works fine in mariadb, but the database query throws an error in pgsql when the division with0 takes place.

During my work on the phpunit tests i encountered a problem with different handling of the daytimesavingoffset in pgsql and mariadb. By deafault pgsql interprets the offset right and mariadb works with it like UTC+0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions