We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f724a4e + 4a7bd16 commit 48ed958Copy full SHA for 48ed958
src/packets/mod.rs
@@ -45,7 +45,7 @@ use self::session_state_change::SessionStateChange;
45
46
lazy_static::lazy_static! {
47
static ref MARIADB_VERSION_RE: Regex =
48
- Regex::new(r"^5.5.5-(\d{1,2})\.(\d{1,2})\.(\d{1,3})-MariaDB").unwrap();
+ Regex::new(r"^(?:5.5.5-)?(\d{1,2})\.(\d{1,2})\.(\d{1,3})-MariaDB").unwrap();
49
static ref VERSION_RE: Regex = Regex::new(r"^(\d{1,2})\.(\d{1,2})\.(\d{1,3})(.*)").unwrap();
50
}
51
0 commit comments