Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note about correct cfg value server_version for MariaDB #9547

Merged
merged 1 commit into from Apr 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion reference/configuration/doctrine.rst
Expand Up @@ -363,7 +363,10 @@ The following block shows all possible configuration keys:
to find your PostgreSQL version and ``mysql -V`` to get your MySQL
version).

Always wrap the server version number with quotes to parse it as a string
聽 If you are running a MariaDB database, you should prefix the ``server_version``
with ``mariadb-`` (e.g. ``server_version: mariadb-10.2.12``).

聽 Always wrap the server version number with quotes to parse it as a string
instead of a float number. Otherwise, the floating-point representation
issues can make your version be considered a different number (e.g. ``5.6``
will be rounded as ``5.5999999999999996447286321199499070644378662109375``).
Expand Down