﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26868	Microsecond precision in MariaDB / Version detection	Marc-Aurèle Brothier	nobody	"I found an edge case when you connect to mariadb server using the mysql client library, for example running a MySQL server on a local computer, which will install the client library but using a MariaDB in a docker container.

The server string returned by the server is {{{5.5.5-10.0.25-MariaDB-1~jessie}}} and therefore the features list is incorrect, especially for the microsecond precision on the DATETIME. If you're using the mariadb client library you will get {{{10.0.25-MariaDB-1~jessie}}} and the features list is correct.

https://mariadb.atlassian.net/browse/MDEV-4575

My patch (PR) changes how the version is detected, and use a SQL query instead of the client library call. Then we get the correct MariaDB version and the features list is correct."	Bug	new	Database layer (models, ORM)	1.9	Normal				Unreviewed	0	0	0	0	0	0
