#223 removing version estension for Ubuntu version

This commit is contained in:
root 2016-06-23 21:28:26 +02:00
parent d82c58f2bf
commit 4ea5c09d44

View file

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