mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 20:02:54 +00:00
fix: mysql version function result (#2884)
Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
@@ -323,10 +323,7 @@ pub(crate) fn check(
|
||||
|
||||
// get GreptimeDB's version.
|
||||
fn get_version() -> String {
|
||||
format!(
|
||||
"{}-greptime",
|
||||
env::var("CARGO_PKG_VERSION").unwrap_or_else(|_| "unknown".to_string()),
|
||||
)
|
||||
format!("{}-greptime", env!("CARGO_PKG_VERSION"))
|
||||
}
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
|
||||
Reference in New Issue
Block a user