Debug print
This commit is contained in:
parent
ec637b26a0
commit
c1fae1bc86
@ -230,5 +230,7 @@ async fn parse_support_returning(pool: &MySqlPool) -> Result<(String, bool), DbE
|
|||||||
// Supported if it's MariaDB with version 10.5.0 or after
|
// Supported if it's MariaDB with version 10.5.0 or after
|
||||||
ver_major >= 10 && ver_minor >= 5
|
ver_major >= 10 && ver_minor >= 5
|
||||||
};
|
};
|
||||||
|
debug_print!("db_version: {}", version);
|
||||||
|
debug_print!("db_support_returning: {}", support_returning);
|
||||||
Ok((version, support_returning))
|
Ok((version, support_returning))
|
||||||
}
|
}
|
||||||
|
@ -227,5 +227,7 @@ async fn parse_support_returning(pool: &SqlitePool) -> Result<(String, bool), Db
|
|||||||
let ver_minor = parse_captures!(2);
|
let ver_minor = parse_captures!(2);
|
||||||
// Supported if it's version 3.35.0 (2021-03-12) or after
|
// Supported if it's version 3.35.0 (2021-03-12) or after
|
||||||
let support_returning = ver_major >= 3 && ver_minor >= 35;
|
let support_returning = ver_major >= 3 && ver_minor >= 35;
|
||||||
|
debug_print!("db_version: {}", version);
|
||||||
|
debug_print!("db_support_returning: {}", support_returning);
|
||||||
Ok((version, support_returning))
|
Ok((version, support_returning))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user