Known MariaDB version incompatibilities

Posted . Visible to the public.

MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the sql_mode option.

Following you can find behavior differences which cannot be changed by this option. This can cause a regression in an existing application. There is no workaround available. The application needs to be adapted.

Queries with aggregated date types

For a database instance of MariaDB-10.1 or higher the result of the following query has changed.

SELECT MIN(NOW)

Before, this returned the current time as String, now this is of type Datetime.

Stefan Langenmaier
Last edit
Stefan Langenmaier
License
Source code in this card is licensed under the MIT License.
Posted by Stefan Langenmaier to makandra dev (2019-08-23 12:14)