#223 removing version estension for Ubuntu version - V2

This commit is contained in:
root 2016-06-23 21:30:22 +02:00
parent 4ea5c09d44
commit 5af540cab0

View file

@ -945,7 +945,7 @@ sub arr2hash {
sub get_all_vars {
# We need to initiate at least one query so that our data is useable
$dummyselect = select_one "SELECT VERSION()";
$dummyselect =~ s/(.*)\-.*?/$1/;
$dummyselect =~ s/(.*?)\-.*/$1/;
debugprint "VERSION: " . $dummyselect . "";
$result{'MySQL Client'}{'Version'} = $dummyselect;