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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0013728: False detection MariaDB version #6790

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

Comments

Projects
None yet
1 participant
@Gloirin

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 closed this Jun 9, 2018

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin 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

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 join this conversation on GitHub. Already have an account? Sign in to comment