Function mysql_common::misc::split_version
source · pub fn split_version<T: AsRef<[u8]>>(version_str: T) -> (u8, u8, u8)
Expand description
Splits server ‘version’ string into three numeric pieces.
It’ll return (0, 0, 0)
in case of error.