-
Notifications
You must be signed in to change notification settings - Fork 86
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
mysql_user: get full mysql version string as a variable #114
Comments
@rndmh3ro hi, thanks for the issue! |
oh, sorry, "full_version" is OK! |
@rndmh3ro I think we could add this to
|
I'll try to implement it. I like that as you suggested:
|
@rndmh3ro cool, thanks! |
(@rndmh3ro don't forget to add a check to tests/integration/targets/test_mysql_info) |
(and feel free to add yourself to |
So, i think we should also put in the dict a key, say called |
I'll add that, however it's not always
|
@rndmh3ro ah, thanks, i mixed up the format with postgresql. Yeah, |
SUMMARY
Right now if you use
mysql_info
to get the version of the database, you get back a dict with three items for the major, minor and release version. However it's hard to use this variable in a version-comparison (e.g.when: mysql_version is version('5.6', '>=')
), because you first have to construct a new variable from the dict.Therefore I propose to add a new variable (e.g.
full_mysql_version
) that contains the full version string.One open question for me: would this be a new filter or should this new variable be returned in the
version
-filter?ISSUE TYPE
COMPONENT NAME
mysql_info
ADDITIONAL INFORMATION
Sample code:
The text was updated successfully, but these errors were encountered: