Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

0013728: False detection MariaDB version #6790

Closed
Gloirin opened this issue Jun 9, 2018 · 1 comment
Closed

0013728: False detection MariaDB version #6790

Gloirin opened this issue Jun 9, 2018 · 1 comment
Assignees
Labels
Bug Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase

Comments

@Gloirin
Copy link
Contributor

Gloirin commented Jun 9, 2018

Reported by hobbyist on 24 Jan 2018 11:54

Version: 2017.08.11 Community Edition

MariaDB reports it's version in different strings depending on what os oder PHP-drivers one uses. It differs between e.g. "5.5.5-10.0.17-MariaDB-log" and "10.0.17-MariaDB-log". This effect is discussed on http://php.net/manual/de/mysqli.get-server-info.php, for example. It does not affect only on windows systems, as you can think reading the article.

tine2.0 uses different methods to calculate the sql-server's version. Especially the preg_match in vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php grabs the 5.5.5 in the long version term and returns version 5.5.5 instead of 10.0.17 or as in my case 10.2.12.

Additional information: https://www.tine20.org/forum/viewtopic.php?f=12&p=68036

@Gloirin Gloirin self-assigned this Jun 9, 2018
@Gloirin Gloirin added Bug Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase labels Jun 9, 2018
@Gloirin Gloirin closed this as completed Jun 9, 2018
@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 11, 2018

Comment posted by pmehrer on 5 Feb 2018 07:54

zend has been patched
capability checks have been adjusted to check for maria db versions too

https://gerrit.tine20.com/customers/7859
https://gerrit.tine20.com/customers/7923

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase
Projects
None yet
Development

No branches or pull requests

1 participant